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

[feat]#583 :Add JSON Validation to the Editor #685

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Mayank-pratap-singh10
Copy link

PR Description

This PR adds a JSON validation feature to the editor. It ensures that the entered text is a valid JSON and provides feedback in case of errors.

Changes Made:

  • Implemented logic to validate JSON input in the editor.
  • Added error handling and messaging for invalid JSON.
  • Updated JsonTextFieldEditor to integrate validation functionality.
  • Added tests to verify the correctness of the validation feature.

Related Issues

This PR addresses the feature to improve JSON input handling in the editor.

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)

Added/updated tests?

We encourage you to add relevant test cases.

  • YES,
  • No,

OS on which you have developed and tested the feature?

  • Windows

@DenserMeerkat
Copy link
Contributor

Is this PR complete?

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.

Add validation for JSON request body
2 participants