Apache Cordova
  1. Apache Cordova
  2. CB-122

JSON4JStringWriter class has static buffer size and is not expandable

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.4.0
    • Component/s: BlackBerry
    • Labels:
      None

      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

        Activity

        Filip Maj created issue -
        Filip Maj made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.4.0 [ 12319449 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Filip Maj
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development