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:
Why shouldn't it be generated
{
"NOTE": "This XML file should only be used for documentation purposes.",
"doclet-version-NOT-library-version": "0",
"class": {....}
}
I am not good at communicating with others in English.
Original XML file:
Why shouldn't it be generated
{
"NOTE": "This XML file should only be used for documentation purposes.",
"doclet-version-NOT-library-version": "0",
"class": {....}
}