Skip to content

feat: add Sort JSON tool#325

Open
Sushanth012 wants to merge 1 commit intoiib0011:mainfrom
Sushanth012:feature/sort-json-tool
Open

feat: add Sort JSON tool#325
Sushanth012 wants to merge 1 commit intoiib0011:mainfrom
Sushanth012:feature/sort-json-tool

Conversation

@Sushanth012
Copy link
Copy Markdown

Adds a new Sort JSON tool under the JSON category. Users can sort a JSON array of objects by any key
in ascending or descending order.

Closes #324

Adds a new Sort JSON tool under the JSON category.
Users can sort a JSON array of objects by any key
in ascending or descending order.

Closes iib0011#324
@Chesterkxng
Copy link
Copy Markdown
Collaborator

I reviewed your code and noticed that some edge cases are not handled (for example, when the value is JSON).

The key names could be loaded into a select field to avoid typos and make it easier to sort the values.
A combo box or select for order choosing (ASC or DESC)
The keys of the JSON object could also be sorted alphabetically.
take a look to https://jsonformatter.org/json-sorter with the recommandations

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.

Feature Request: Sort JSON

2 participants