You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2017/03/02 13:01:45 UTC

[jira] [Created] (FELIX-5577) JSONParser is not able to parse an array as root object

Carsten Ziegeler created FELIX-5577:
---------------------------------------

             Summary: JSONParser is not able to parse an array as root object
                 Key: FELIX-5577
                 URL: https://issues.apache.org/jira/browse/FELIX-5577
             Project: Felix
          Issue Type: Bug
          Components: Utils
    Affects Versions: utils-1.9.0
            Reporter: Carsten Ziegeler
             Fix For: utils-1.9.2


Usually a valid JSON is either on object or an array. The JSONParser currently only allows to have an object as the root. It fails do pass a valid json doc like
[1,2,3]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)