You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/09/08 09:32:00 UTC

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

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

Guillaume Nodet resolved FELIX-5577.
------------------------------------
    Resolution: Fixed
      Assignee: David Bosschaert

https://github.com/apache/felix/commit/9cb9a5d822b9c0d9db4db146c45b2dd50eb45a28#diff-3c0c87b56f96c19f40c984c4db920811

> 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
>            Assignee: David Bosschaert
>             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.4.14#64029)