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

Add support for decoding the JSON as an object instead of array. #2

Closed
nesl247 opened this issue Jul 30, 2015 · 1 comment
Closed

Comments

@nesl247
Copy link

nesl247 commented Jul 30, 2015

Json::decode() should support a second optional argument to allow for returning the JSON as an object instead of an array.

@nesl247
Copy link
Author

nesl247 commented Jul 30, 2015

After discussing with @klaussilveira , this won't be added so that user's don't have the choice to use something that has worse performance. Users can always cast to an object if needed.

@nesl247 nesl247 closed this as completed Jul 30, 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

No branches or pull requests

1 participant