B4J Question Why are the generated JSON sorted with Json librarys

Xiaofy

New Member
I try to parse this XML file and generate JSON. Why is the data order of the generated JSON file different from that of the original XML? Instead, it is sorted the same. Why can't we generate JSON files in the same order as the original data.
I am not good at communicating with others in English.

Original XML file:
1662969171749.png



1662969520913.png



Why shouldn't it be generated

{

"NOTE": "This XML file should only be used for documentation purposes.",
"doclet-version-NOT-library-version": "0",
"class": {....}
}
 
Top