JSON: why does oXygen say this is valid JSON?
Oxygen general issues.
-
- Posts: 43
- Joined: Tue Jul 26, 2016 6:31 pm
JSON: why does oXygen say this is valid JSON?
Code: Select all
["Name", "Session", "Score", "Completed"]
["Gilbert", "2013", 24, true]
["Alexa", "2013", 29, true]
["May", "2012B", 14, false]
["Deloise", "2012A", 19, true]
-
- Posts: 43
- Joined: Tue Jul 26, 2016 6:31 pm
Re: JSON: why does oXygen say this is valid JSON?
For info, this is from http://jsonlines.org/examples/.mhGLEIF wrote:Code: Select all
["Name", "Session", "Score", "Completed"]
["Gilbert", "2013", 24, true]
["Alexa", "2013", 29, true]
["May", "2012B", 14, false]
["Deloise", "2012A", 19, true]
None of the other examples at that site appear to be valid JSON.
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: JSON: why does oXygen say this is valid JSON?
Hello,
Thank you for your feedback.
In a JSON file you can have an object, an array, or a simple value, see http://json.org/.
The example that you added should be reported as invalid because there are multiple arrays. It seems that oXygen validates only the first array in this case. I will add an issue on our issue tracker to correct this problem. We will notify you when this problem will be solved.
Best Regards,
Octavian
Thank you for your feedback.
In a JSON file you can have an object, an array, or a simple value, see http://json.org/.
The example that you added should be reported as invalid because there are multiple arrays. It seems that oXygen validates only the first array in this case. I will add an issue on our issue tracker to correct this problem. We will notify you when this problem will be solved.
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 418
- Joined: Mon May 09, 2016 9:37 am
Re: JSON: why does oXygen say this is valid JSON?
Post by sorin_carbunaru »
Hello,
Just wanted to let you know that the reported problem has been fixed in the recently released oXygen 20.1.
Best wishes,
Sorin Carbunaru
oXygen XML
Just wanted to let you know that the reported problem has been fixed in the recently released oXygen 20.1.
Best wishes,
Sorin Carbunaru
oXygen XML
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