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

Keep proper data type for JSON arrays between conversions. #32

Closed
wants to merge 1 commit into from

Conversation

kra3
Copy link

@kra3 kra3 commented Dec 16, 2015

If you convert a JSON array into XML and back to JSON, every data types in the array will be converted to string.

ie., {"k": [34, true, "val"]} -> xml -> json => {"k": ["34", "true", "val"]}

That's fixed in this commit as is done for JSONObjects.

@kra3
Copy link
Author

kra3 commented Dec 16, 2015

If I'm correct, this pull request should also address #7

@kra3
Copy link
Author

kra3 commented Dec 16, 2015

There is more to it in #7

@aalmiray I've created a pull request against the master branch (hence checks failing)
Do you want it to be submitted against develop?

@kra3
Copy link
Author

kra3 commented Dec 16, 2015

Submitted a new pull request ( #33 ) on develop branch, so closing this.

@kra3 kra3 closed this Dec 16, 2015
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