[
https://issues.apache.org/jira/browse/CAMEL-10969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178110#comment-16178110
]
Claus Ibsen commented on CAMEL-10969:
-------------------------------------
The json-simple parser from google is no longer maintained, but a 2.x version
is more active and take over by Cliffon Labs at
https://cliftonlabs.github.io/json-simple/
The power of this library is that its a single JAR and has no other
dependencies - its small and we can then shade that into camel-core and
camel-catalog, and the apt compiler plugin can use it as well.
Then its a little implementation detail, and should not cause classpath issues,
as otherwise it would be with a big popular library like jackson does.
There is also Apache Johnzon but its a bigger library, but the good side is
that its JSON-P spec implementation and its a sister Apache project.
> 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
> Fix For: 3.0.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)