apidash
apidash copied to clipboard
Enhance Request Body Editor: JSON formatting, syntax highlighting, validation and other features
This feature was highlighted in #9
Currently, the Request Body is a plain text editor. In case the body is of type json, the editor can provide additional features (without hampering performance) like JSON formatting, Syntax highlighting, JSON validation, etc.
Note: This issue is now a meta issue with several sub-issues.
@animator Could you explain it a bit more? With screenshots if poosible.
Hi @malik-vishu, Please find attached screenshots
JSON formatting
Syntax Highlighting
JSON validation
Hi @animator, @ashitaprasad , I am currently working in this feature,
Sure @antonioCaballero17 waiting for your PR. If you have any doubt/query feel free to post it in our discord channel #foss-apidash
Based on this issue i just develop and published this pacakge https://github.com/antonioCaballero17/json_text_fieldCan I use this in apiDash?
@antonioCaballero17 you can send across a PR. Will test it out.
Please check #103
Hi! Sorry for my ghosting, i was moving home last month... I see that you merge the PR. So, great! feature 22 is done! I am looking forward for other feature, i am going to check the issues
@antonioCaballero17 the PR was merged because it offers something very close to the solution that someone can pick up to continue working on. See the TODO here This issue is still open and requires work.
I want to work on this issue, and I see the merged PR that formats the JSON in the tree structure, but the JSON validation feature has not been implemented yet, which tells me in the tree where JSON validation fails. Am I right ? and we are looking for a feature in which the user simply pastes its text in body and shows three buttons for json formatting, json lighting, and validation.
@arpitvermaofficial you can pick up the existing code base .. tinker around with your ideas and send across a PR. We can discuss over it on the PR.
Please feel free to review my PR. Tomorrow i am going to make a new push