You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "John Blum (Jira)" <ji...@apache.org> on 2020/06/16 00:03:00 UTC

[jira] [Created] (GEODE-8254) JSONFormatter cannot parse JSON Arrays

John Blum created GEODE-8254:
--------------------------------

             Summary: JSONFormatter cannot parse JSON Arrays
                 Key: GEODE-8254
                 URL: https://issues.apache.org/jira/browse/GEODE-8254
             Project: Geode
          Issue Type: Improvement
          Components: serialization
            Reporter: John Blum


The Apache Geode [JSONFormatter|https://geode.apache.org/releases/latest/javadoc/org/apache/geode/pdx/JSONFormatter.html] class is not capable of parsing/processing JSON Arrays, making it less than adequate to process JSON documents and content.

This leave the responsibility and burden on the user, which requires the user to inspect the individual array elements.

A test case reproducing this issue can be found [here|https://geode.apache.org/releases/latest/javadoc/org/apache/geode/pdx/JSONFormatter.html].

Matching JSON document is [here|https://github.com/spring-projects/spring-boot-data-geode/blob/1.3.0.RELEASE/spring-geode/src/test/resources/data-example-doefamily.json].

JSON Arrays are a very common JSON data type, as [specified|https://www.json.org/json-en.html].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)