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

can jsoneditor import that permmit not valid notes? #1062

Open
sujiangyin opened this issue Jul 30, 2020 · 3 comments
Open

can jsoneditor import that permmit not valid notes? #1062

sujiangyin opened this issue Jul 30, 2020 · 3 comments
Labels

Comments

@sujiangyin
Copy link

suosuo I would like to help you but please translate your question in English.

Originally posted by @josdejong in #1061 (comment)

can jsoneditor import that permmit not valid notes?i hope to use for beauty my code like json,but need notes,when i submit my editor input,if it has notes,can it not delete my notes,and no error tips? what the api?

@josdejong
Copy link
Owner

I'm not sure what you mean with "permit not valid notes".

Do you mean you want to do validation of your JSON document? In that case you can define a JSON Schema.

@aerisnju
Copy link

aerisnju commented Sep 9, 2020

Let me help to translate and explain his request. He just asked for supporting a json dialect that allows comments in jsoneditor. Comments are not allowed in jsoneditor now.
There are some similar requests, such as #972, #658, #496, #477 and #219.

@josdejong
Copy link
Owner

Ah, I get it. Thanks.

Like stated in the issues you refer too, supporting JSON dialects is not on the roadmap any time soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants