You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/07 02:57:39 UTC

[jira] [Resolved] (CB-122) JSON4JStringWriter class has static buffer size and is not expandable

     [ https://issues.apache.org/jira/browse/CB-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj resolved CB-122.
--------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.0

Fixed in 64fd138
                
> JSON4JStringWriter class has static buffer size and is not expandable
> ---------------------------------------------------------------------
>
>                 Key: CB-122
>                 URL: https://issues.apache.org/jira/browse/CB-122
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 1.2.0
>            Reporter: Filip Maj
>             Fix For: 1.4.0
>
>
> https://github.com/callback/callback-blackberry/blob/master/framework/ext/src/com/phonegap/json4j/internal/JSON4JStringWriter.java#L15
> If you're dealing with big JSON objects this one is going to bite you for sure, especially if you are authoring plugins.
> Writing out a JSON object to string on native side with a large JSON object (containing Base64 image data, for example) will fail.
> This comment should be acted upon: https://github.com/callback/callback-blackberry/blob/master/framework/ext/src/com/phonegap/json4j/internal/JSON4JStringWriter.java#L39

--
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