You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Erwan de FERRIERES (Created) (JIRA)" <ji...@apache.org> on 2011/11/18 16:50:51 UTC
[jira] [Created] (OFBIZ-4572) Migration from json-lib to jackson
Migration from json-lib to jackson
----------------------------------
Key: OFBIZ-4572
URL: https://issues.apache.org/jira/browse/OFBIZ-4572
Project: OFBiz
Issue Type: Improvement
Components: framework
Affects Versions: SVN trunk
Reporter: Erwan de FERRIERES
Priority: Minor
According to various benchmarks, json-lib, based on the json.org implementation, is one of the slowest implementation for json parsing. Moreover, this project hasn't been updated since 2010-12-14 (latest release), and activity on the user mailing-list is empty.
I found jackson, which seems to be a lot faster, and activity is bigger, with a lot of releases (next to monthly).
Here are some links:
benchmark: https://github.com/eishay/jvm-serializers/wiki/
Update on State of Json-parsing Performance: http://www.cowtowncoder.com/blog/archives/2009/02/entry_204.html
Upgrade from org.json to Jackson, piece by piece, using jackson-module-org-json: http://www.cowtowncoder.com/blog/archives/2011/03/entry_447.html
project's documentation: http://wiki.fasterxml.com/JacksonDocumentation
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-4572) Migration from json-lib to jackson
Posted by "Erwan de FERRIERES (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217218#comment-13217218 ]
Erwan de FERRIERES commented on OFBIZ-4572:
-------------------------------------------
Nothing has come out yet. Any help is still appreciated !
> Migration from json-lib to jackson
> ----------------------------------
>
> Key: OFBIZ-4572
> URL: https://issues.apache.org/jira/browse/OFBIZ-4572
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Erwan de FERRIERES
> Priority: Minor
>
> According to various benchmarks, json-lib, based on the json.org implementation, is one of the slowest implementation for json parsing. Moreover, this project hasn't been updated since 2010-12-14 (latest release), and activity on the user mailing-list is empty.
> I found jackson, which seems to be a lot faster, and activity is bigger, with a lot of releases (next to monthly).
> Here are some links:
> benchmark: https://github.com/eishay/jvm-serializers/wiki/
> Update on State of Json-parsing Performance: http://www.cowtowncoder.com/blog/archives/2009/02/entry_204.html
> Upgrade from org.json to Jackson, piece by piece, using jackson-module-org-json: http://www.cowtowncoder.com/blog/archives/2011/03/entry_447.html
> project's documentation: http://wiki.fasterxml.com/JacksonDocumentation
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-4572) Migration from json-lib to jackson
Posted by "Wai (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216528#comment-13216528 ]
Wai commented on OFBIZ-4572:
----------------------------
I was wondering if anything is coming out of this. Is ofbiz staying with XStream or would Jackson be a good substitute or can both be used?
> Migration from json-lib to jackson
> ----------------------------------
>
> Key: OFBIZ-4572
> URL: https://issues.apache.org/jira/browse/OFBIZ-4572
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Erwan de FERRIERES
> Priority: Minor
>
> According to various benchmarks, json-lib, based on the json.org implementation, is one of the slowest implementation for json parsing. Moreover, this project hasn't been updated since 2010-12-14 (latest release), and activity on the user mailing-list is empty.
> I found jackson, which seems to be a lot faster, and activity is bigger, with a lot of releases (next to monthly).
> Here are some links:
> benchmark: https://github.com/eishay/jvm-serializers/wiki/
> Update on State of Json-parsing Performance: http://www.cowtowncoder.com/blog/archives/2009/02/entry_204.html
> Upgrade from org.json to Jackson, piece by piece, using jackson-module-org-json: http://www.cowtowncoder.com/blog/archives/2011/03/entry_447.html
> project's documentation: http://wiki.fasterxml.com/JacksonDocumentation
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-4572) Migration from json-lib to jackson
Posted by "Adrian Crum (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152950#comment-13152950 ]
Adrian Crum commented on OFBIZ-4572:
------------------------------------
Erwan,
We already have the XStream library that does JSON parsing. Have you looked into that?
> Migration from json-lib to jackson
> ----------------------------------
>
> Key: OFBIZ-4572
> URL: https://issues.apache.org/jira/browse/OFBIZ-4572
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Erwan de FERRIERES
> Priority: Minor
>
> According to various benchmarks, json-lib, based on the json.org implementation, is one of the slowest implementation for json parsing. Moreover, this project hasn't been updated since 2010-12-14 (latest release), and activity on the user mailing-list is empty.
> I found jackson, which seems to be a lot faster, and activity is bigger, with a lot of releases (next to monthly).
> Here are some links:
> benchmark: https://github.com/eishay/jvm-serializers/wiki/
> Update on State of Json-parsing Performance: http://www.cowtowncoder.com/blog/archives/2009/02/entry_204.html
> Upgrade from org.json to Jackson, piece by piece, using jackson-module-org-json: http://www.cowtowncoder.com/blog/archives/2011/03/entry_447.html
> project's documentation: http://wiki.fasterxml.com/JacksonDocumentation
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-4572) Migration from json-lib to jackson
Posted by "Erwan de FERRIERES (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155217#comment-13155217 ]
Erwan de FERRIERES commented on OFBIZ-4572:
-------------------------------------------
Hi Adrian,
no, I haven't.
Reading from here, http://xstream.codehaus.org/json-tutorial.html, it seems that xstream is more oriented XML, and not pure JSON, or we need to use the jettison interface.
> Migration from json-lib to jackson
> ----------------------------------
>
> Key: OFBIZ-4572
> URL: https://issues.apache.org/jira/browse/OFBIZ-4572
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Erwan de FERRIERES
> Priority: Minor
>
> According to various benchmarks, json-lib, based on the json.org implementation, is one of the slowest implementation for json parsing. Moreover, this project hasn't been updated since 2010-12-14 (latest release), and activity on the user mailing-list is empty.
> I found jackson, which seems to be a lot faster, and activity is bigger, with a lot of releases (next to monthly).
> Here are some links:
> benchmark: https://github.com/eishay/jvm-serializers/wiki/
> Update on State of Json-parsing Performance: http://www.cowtowncoder.com/blog/archives/2009/02/entry_204.html
> Upgrade from org.json to Jackson, piece by piece, using jackson-module-org-json: http://www.cowtowncoder.com/blog/archives/2011/03/entry_447.html
> project's documentation: http://wiki.fasterxml.com/JacksonDocumentation
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira