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. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions