stringify-ordering? #1240
Replies: 2 comments 1 reply
|
In the object, regular properties (static key named properties) take precedence over dynamic properties. In the regular properties, optional properties comes earlier than required properties. |
1 reply
|
Closing as answered by the maintainer.
Do not treat JSON object member order as an interoperability contract outside typia's generated output; if a downstream protocol requires canonical ordering, build that canonical object/string explicitly. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is the ordering of the string-ify functions inherited from the type definition? How is the ordering determined?
All reactions