Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-122

JSON4JStringWriter class has static buffer size and is not expandable

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            filmaj Filip Maj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: