[x3d-public] Ordering of children in JSON.

John Carlson yottzumm at gmail.com
Fri Dec 22 18:11:09 PST 2023


As a follow up, see link below and comment whether you’d like you’d see
ordering like this in (non-standard) JSON Schema or an extension.

Also, how might this be managed in X3DUOM, or how it already is, so I can
extend JSON Schema++ appropriately with children ordering.  Is this handled
through ContentModel’s in X3DUOM?

I may get to X3DUOM to JSON schema sooner than other things.

Holger, I understand how these things might already be fixed in your
x3d-tidy.  Thanks!

Some thing else to consider is using XML Schema as our primary schema
language, which would be easier to maintain.

John

On Fri, Dec 22, 2023 at 5:23 PM Holger Seelig <notifications at github.com>
wrote:

> As it turns out, there is not an intrinsic order of properties in a JSON
> schema object.
>
> See also
> https://stackoverflow.com/questions/31691247/how-can-i-define-the-sequence-of-properties-in-json-schema/31693656#31693656
> .
>
>> Reply to this email directly, view it on GitHub
> <https://github.com/create3000/x3d-tidy/issues/14#issuecomment-1868126861>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAFMJ5427C3NJ2BHBEQJ5XDYKYJANAVCNFSM6AAAAABAVIGC6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGEZDMOBWGE>
> .
> You are receiving this because you authored the thread.Message ID:
> <create3000/x3d-tidy/issues/14/1868126861 at github.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20231222/0a3d64cb/attachment.html>


More information about the x3d-public mailing list