XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Asking for recommendations of xml 2 json open sourceprojects

On 21/01/2023 03:45, John Cowan wrote:

On Wed, Dec 14, 2022 at 2:57 PM Jean Paoli <jeanpa@docugami.com> wrote:
    http://www.jsonml.org/ <http://www.jsonml.org/> and
    https://www.newtonsoft.com/json/help/html/ConvertingJSONandXML.htm
>>
There are issues with both and we are trying to avoid writing our own. > > JsonML claims to be a round-trip transformation, but it is not.  In
particular, it does not have any way to represent the XML
declaration, comments, processing instructions, or material outside
the document element.  Furthermore, CDATA sections, entity
references, and character references cannot be distinguished from
their literal equivalents.  But if these don't matter to you, it's a
pretty good mapping.
How does it deal with XML-->JSON for deep mixed content? I have TEI documents with analytic markup, on which the publisher's rendering and the user's linguistic or semantic analysis depends, nested up to 10 levels deep. I am under pressure from some quarters to "make the markup simpler" by using JSON.

Peter


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS