Open angelozerr opened 9 years ago
Hi Angelo, I see this as a part of #17. I plan on a streaming API that would allow you to hook into the parsing process and get the char positions for every element. This should also allow to create an alternative output such as JsonSchema.
Thanks @ralfstx for your answer. For the moment I have copied/pasted minimal-json inside my project in order to update for my need by waiting for #17
If I can manage JsonSchema, are you interested to include it to minimal-json?
@ralfstx for your information Eclipse WTP JSON is now included in the WTP git repository (it will available for Neon)!
So no I think the JsonSchema feature is a very important thing. When do you think could you have time to support https://github.com/ralfstx/minimal-json/issues/17 in order to get the char positions for every element.?
@mickaelistria @dgolovin @vrubezhny @maxandersen @alexeykazakov I think you should follow this issue for WTP JSON.
Many thanks @ralfstx for your help.
@angelozerr I know I promised the streaming API for last year already. I still have it on my list for the next release and hope to get to it soon.
Thanks @ralfstx for your answer. Is there any chance that you will implement Streaming API? If yes, when you will have time to do that?
@angelozerr Ok, I guess it's time to make a commitment. I have been working on a draft lately and I'm going to reserve the weekend March 12/13 for finishing it. Thanks for your patience.
@ralfstx I'm developping a JSON Editor based on WTP https://github.com/angelozerr/eclipse-wtp-json (I will contribute to WTP soon).
I'm supporting JSON Schema for :
by using JSON Schema at http://schemastore.org/
I have developed my own JSON Schema (works only for completion) because every JSON Schema written in Java doesn't support line number where there is an error. It's because the JSON source to validate doesn't contains line number, offset for each JsonValue.
I create this issue because I would liek to know if minimal-json could :
If you are not aware to do that, close this issue and I will create my own minimal-json with those extension.