No specific order in the generated json
See original GitHub issueFirst of all thanks for providing this component. It was really useful. However, when the json is generated, it does not seem to follow any specific order. Looks as if it picks randomly from individual component files.
{
"users.button1": "Add",
"roles.button2": "Delete",
"roles.button1": "Add",
"users.button2": "Delete"
}
It will be nice if it is ordered either by alphabetical or by the order in which it is listed in the individual component files.
{
"users.button1": "Add",
"users.button2": "Delete",
"roles.button1": "Add",
"roles.button2": "Delete"
}
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
java - JSON order mixed up - Stack Overflow
I understand that JSON doesn't have an order and a library is free to generate any order it feels like, but there's a...
Read more >encoding/json: no way to preserve the order of map keys
The encoding/json library apparently offers no way to decode data into a interface{} without scrambling the order of the keys in objects.
Read more >Swift Dictionary order does not ma… | Apple Developer Forums
I'm working on parsing a JSON file into a dictionary: // JSON Payload File { "orderPlaced": "done", "prep": "pending", "shipped" : "pending" }....
Read more >Ordering Elements within JSON Objects - FileMaker Hacks
If you've generated JSON objects via FileMaker, you're likely aware of the disparity between the order in which you specify the elements, ...
Read more >MySQL 8.0 Reference Manual :: 11.5 The JSON Data Type
MySQL supports a native JSON data type defined by RFC 7159 that enables efficient access to data in JSON (JavaScript Object Notation) documents....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I see that there is already a PR #17 . I hope this will be merged very soon 😃
You’re welcome!