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 |
[ 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 |
In reply to this post by Nicolas Malin (Jira)
[ 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 |
In reply to this post by Nicolas Malin (Jira)
[ 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 |
In reply to this post by Nicolas Malin (Jira)
[ 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 |
Free forum by Nabble | Edit this page |