JSON related
Are you missing a feature? Request its implementation here.
-
- Posts: 82
- Joined: Sat Jan 13, 2007 5:39 pm
- Location: Belgium
JSON related
Post by PaulHermans »
I would like to see implemented:
- validate JSON with JSON schema
- generate JSON schema from JSON instance.
Paul
- validate JSON with JSON schema
- generate JSON schema from JSON instance.
Paul
Paul
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: JSON related
Hi Paul,
Thanks for the suggestion.
We'll consider adding support for JSON validation based on a JSON schema in a future release of Oxygen.
Right now the JSON validation in Oxygen is more like a "well-formed" check.
If you know by any chance, is there a way to specify in the JSON file a reference to the JSON schema which should be used for validation (like there is for XML)?
Could you tell us more about your usual workflow? Do you transform XML to JSON?
Regards,
Radu
Thanks for the suggestion.
We'll consider adding support for JSON validation based on a JSON schema in a future release of Oxygen.
Right now the JSON validation in Oxygen is more like a "well-formed" check.
If you know by any chance, is there a way to specify in the JSON file a reference to the JSON schema which should be used for validation (like there is for XML)?
Could you tell us more about your usual workflow? Do you transform XML to JSON?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 82
- Joined: Sat Jan 13, 2007 5:39 pm
- Location: Belgium
Re: JSON related
Post by PaulHermans »
Hi Radu,
I'm not aware of a mechanism to associate a JSON file with a schema.
My current workflow is that from a giant XML file I generate via XSLT zillion of JSON files to be uploaded in a repository.
Paul
I'm not aware of a mechanism to associate a JSON file with a schema.
My current workflow is that from a giant XML file I generate via XSLT zillion of JSON files to be uploaded in a repository.
Paul
Paul
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: JSON related
Hi,
We will consider supporting this in the long term.
Meanwhile, if you have a command line validator tool for Json-Schema, you can configure it as a custom validator in Oxygen:
1. Options > Preferences, Editor / Custom Validation Engines, New.
2. Press the + from the Associated editors field and select JSON Editor.
3. Configure the working directory and executable path. In the Command line arguments for detected schemas section specify the required command line arguments and use the ${cf} editor variable as the path that points to the current file.
4. The custom validator appears in the Custom Validation Engines toolbar. You should see the name you gave it directly in the Oxygen toolbar.
5. When you run this custom validator (by clicking it in the toolbar) you will obtain the result in the results panel at the bottom of the editor.
Regards,
Adrian
We will consider supporting this in the long term.
Meanwhile, if you have a command line validator tool for Json-Schema, you can configure it as a custom validator in Oxygen:
1. Options > Preferences, Editor / Custom Validation Engines, New.
2. Press the + from the Associated editors field and select JSON Editor.
3. Configure the working directory and executable path. In the Command line arguments for detected schemas section specify the required command line arguments and use the ${cf} editor variable as the path that points to the current file.
4. The custom validator appears in the Custom Validation Engines toolbar. You should see the name you gave it directly in the Oxygen toolbar.
5. When you run this custom validator (by clicking it in the toolbar) you will obtain the result in the results panel at the bottom of the editor.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: JSON related
Hi Trond,
The JSON validation based on a JSON schema is still on our TODO list but I have added also your vote to increase its priority.
We will let you know when it will be available.
Best Regards,
Mihaela
--
Mihaela Calotescu
<oXygen/> XML Editor
The JSON validation based on a JSON schema is still on our TODO list but I have added also your vote to increase its priority.
We will let you know when it will be available.
Best Regards,
Mihaela
--
Mihaela Calotescu
<oXygen/> XML Editor
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 9
- Joined: Tue Oct 30, 2012 10:56 pm
Re: JSON related
Add my vote as well!mihaela wrote:The JSON validation based on a JSON schema is still on our TODO list but I have added also your vote to increase its priority.
We will let you know when it will be available.

regards
Theun
-
- Posts: 1
- Joined: Thu May 26, 2016 2:40 am
Re: JSON related
To be honest i would love this as well. There is no document information standard in JSON really, but i could see a simple side-binding file also stored in json along side it... As an index of files and their schema assignments, then we wouldnt have to modify the contents and perhaps break the other parsing mechanisms to do it.
The ability to author schemas would be nice as well.
Itll make this tool something many of us Mobile developers could really use. Mobile doesnt use much XML, JSON is preferred simply because it is less verbose.
The ability to author schemas would be nice as well.
Itll make this tool something many of us Mobile developers could really use. Mobile doesnt use much XML, JSON is preferred simply because it is less verbose.
-
- Posts: 15
- Joined: Thu May 19, 2005 8:19 pm
Re: JSON related
Hello,
I would also like to express my interest in built-in JSON validation support using http://json-schema.org/ style schemas.
Thank you!
I would also like to express my interest in built-in JSON validation support using http://json-schema.org/ style schemas.
Thank you!
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: JSON related
Hi,
I will add your feedback to the opened issue. We do not have enough time to do this for Oxygen 18.1 (this Autumn) but maybe we'll have some more time to approach JSON validation with schema in the Oxygen 19.x series next year.
Regards,
Radu
I will add your feedback to the opened issue. We do not have enough time to do this for Oxygen 18.1 (this Autumn) but maybe we'll have some more time to approach JSON validation with schema in the Oxygen 19.x series next year.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: JSON related
Hi,
Actually the XPath toolbar remains enabled when you open a JSON document so you can run an XPath over the JSON, as if it would be an XML structure. This might be different than JSONPath in the way it operates though.
Regards,
Radu
Actually the XPath toolbar remains enabled when you open a JSON document so you can run an XPath over the JSON, as if it would be an XML structure. This might be different than JSONPath in the way it operates though.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: JSON related
Hi,
We have some internal issues already registered for all your requests. I will add your vote for them and we'll update this forum thread when we manage to implement them.
Regards,
Radu
We have some internal issues already registered for all your requests. I will add your vote for them and we'll update this forum thread when we manage to implement them.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4
- Joined: Tue Nov 03, 2009 6:31 pm
-
- Posts: 417
- Joined: Mon May 09, 2016 9:37 am
Re: JSON related
Post by sorin_carbunaru »
Hello lcahlander,
I added your vote for this feature.
Best wishes,
Sorin Carbunaru
oXygen XML
I added your vote for this feature.
Best wishes,
Sorin Carbunaru
oXygen XML
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: JSON related
Hi,
The reason is that like any other tool makers we have limited human resources and our main focus is XML, XSLT technologies and improving the application for technical writers.
We do want to implement JSON schema, we had an attempt several years ago but had some trouble deciding what JSON validation tool to use. For example the tool we found reported errors but did not precisely report their line/column location making it almost useless.
What tools are you using right now for JSON schema-based validation? Does it report line-column information?
Also if you can provide JSON samples (schema + instances) it would help us, we do not use much JSON internally so knowing how people out there are using it would be a big help. If you want to provide extra details you can also contact us directly via email (support@oxygenxml.com).
Regards,
Radu
The reason is that like any other tool makers we have limited human resources and our main focus is XML, XSLT technologies and improving the application for technical writers.
We do want to implement JSON schema, we had an attempt several years ago but had some trouble deciding what JSON validation tool to use. For example the tool we found reported errors but did not precisely report their line/column location making it almost useless.
What tools are you using right now for JSON schema-based validation? Does it report line-column information?
Also if you can provide JSON samples (schema + instances) it would help us, we do not use much JSON internally so knowing how people out there are using it would be a big help. If you want to provide extra details you can also contact us directly via email (support@oxygenxml.com).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: JSON related
Hello,
We just released version 20.1 of oXygen XML Editor that includes new editing features and validation support for JSON documents:
- Validate JSON documents against JSON Schema
- Validate JSON Schema according to the specification
- Batch validate JSON documents
- New document templates to create JSON schemas
- Navigate references in JSON documents
- JSON format and indent improvements
https://www.oxygenxml.com/xml_editor/wh ... l#20.1JSON
Best Regards,
Octavian
We just released version 20.1 of oXygen XML Editor that includes new editing features and validation support for JSON documents:
- Validate JSON documents against JSON Schema
- Validate JSON Schema according to the specification
- Batch validate JSON documents
- New document templates to create JSON schemas
- Navigate references in JSON documents
- JSON format and indent improvements
https://www.oxygenxml.com/xml_editor/wh ... l#20.1JSON
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: JSON related
Hello,
We recently released the version 24.0 of Oxygen suite. This major release introduces a new specialized editor for JSON Schema documents and it includes an innovative visual schema diagram editor.
You can find more details on our website: https://www.oxygenxml.com/json_schema_e ... esign_mode
The new specialized JSON Schema editor introduces a Design mode that represents an expressive diagram editor that is helpful for visualizing, editing, and understanding JSON Schemas.
Video demo: https://www.oxygenxml.com/demo/introduc ... esign.html
A webinar on 'The New JSON Schema Diagram Editor' is also being prepared. I invite you on this occasion to register and participate:
https://www.oxygenxml.com/events/2021/w ... ditor.html
For the complete list of features, go to
https://www.oxygenxml.com/xml_editor/whats_new.html
Best Regards,
Octavian
We recently released the version 24.0 of Oxygen suite. This major release introduces a new specialized editor for JSON Schema documents and it includes an innovative visual schema diagram editor.
You can find more details on our website: https://www.oxygenxml.com/json_schema_e ... esign_mode
The new specialized JSON Schema editor introduces a Design mode that represents an expressive diagram editor that is helpful for visualizing, editing, and understanding JSON Schemas.
Video demo: https://www.oxygenxml.com/demo/introduc ... esign.html
A webinar on 'The New JSON Schema Diagram Editor' is also being prepared. I invite you on this occasion to register and participate:
https://www.oxygenxml.com/events/2021/w ... ditor.html
For the complete list of features, go to
https://www.oxygenxml.com/xml_editor/whats_new.html
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service