Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserving XML ordem when parse from XML string to Json #256

Closed
wants to merge 2 commits into from

Conversation

PedroHReis22
Copy link

Currently, if we parse a xml string to a JsonObject, we have no guarantee that the xml order will be preserved (because JSONObject uses a HashMap).
May be interesting keep this order (although it does not make a difference in the Json's structure).
This pull request swaps from HashMap to LinkedHashMap.

@PedroHReis22
Copy link
Author

It's duplicate from #106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant