You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2019/04/01 11:55:02 UTC

[jira] [Resolved] (JOHNZON-205) Mapper.toStructure does not support arrays as toplevel element

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

Romain Manni-Bucau resolved JOHNZON-205.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.12

[~elexx] thanks a lot for the PR, it is now on master!

> Mapper.toStructure does not support arrays as toplevel element
> --------------------------------------------------------------
>
>                 Key: JOHNZON-205
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-205
>             Project: Johnzon
>          Issue Type: Bug
>          Components: Mapper
>    Affects Versions: 1.1.12
>            Reporter: Alexander Falb
>            Priority: Major
>             Fix For: 1.1.12
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> new MapperBuilder().build().toStructure(new []{3,4,5); returns an empty JsonObject instead of an JsonArray with 3 elements.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)