camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10969) JSonSchemaHelper - Json parser should we use json-simple instead
Date Sun, 24 Sep 2017 14:22:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178223#comment-16178223
] 

Claus Ibsen commented on CAMEL-10969:
-------------------------------------

Okay got the parser fixed by patching it, then we can use it as the order matters of those
options. We can consider adding a order=1, order=2 .. order=N attribute to output in the json
schema as well, so other parsers that don't respect ordering can then use that order attribute
to sort.

> JSonSchemaHelper - Json parser should we use json-simple instead
> ----------------------------------------------------------------
>
>                 Key: CAMEL-10969
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10969
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
>
>
> We use our own json parser in JSonSchemaHelper in different places as part of the catalog
stuff we have done over the last 3-4 years. And as it has expanded to be used in more places
than just as in the beginning in apt, we are duplicating some of that code around.
> We could consider shading in json-simple in camel-core and camel-catalog.
> And where its used in apt, maven plugins and elsewhere.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message