We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey guys, I'm trying to track down an issue regarding the 'pretty' view of json data. I can't seem to figure how this could be an issue on my end.
Here's some example output from the RAW view.
"facets":[{"name":"Size","param":"size","display":true,"search":"facet_size","combine":"AND","weight":100,"values":{"AU 0":{"name":"AU 0","key":"AU 0","count":3},
As you can see, the first key is AU 0. Here's the output from the 'pretty' view
"name": "Size", "param": "size", "display": true, "search": "facet_size", "combine": "AND", "weight": 100, "values": { "1": { "name": 1, "key": 1, "count": 3 },
It seems to be doing a natural sort based on the keys?!?
The text was updated successfully, but these errors were encountered:
This seems to be a side-effect of the JSON parser that we're using. Order of object properties isn't guaranteed in JS - http://stackoverflow.com/questions/5525795/does-javascript-guarantee-object-property-order
Sorry, something went wrong.
No branches or pull requests
Hey guys, I'm trying to track down an issue regarding the 'pretty' view of json data. I can't seem to figure how this could be an issue on my end.
Here's some example output from the RAW view.
"facets":[{"name":"Size","param":"size","display":true,"search":"facet_size","combine":"AND","weight":100,"values":{"AU 0":{"name":"AU 0","key":"AU 0","count":3},
As you can see, the first key is AU 0. Here's the output from the 'pretty' view
"name": "Size",
"param": "size",
"display": true,
"search": "facet_size",
"combine": "AND",
"weight": 100,
"values": {
"1": {
"name": 1,
"key": 1,
"count": 3
},
It seems to be doing a natural sort based on the keys?!?
The text was updated successfully, but these errors were encountered: