[ 
https://issues.apache.org/jira/browse/JOHNZON-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315744#comment-17315744
 ] 

Romain Manni-Bucau commented on JOHNZON-234:
--------------------------------------------

[~reschke] hmm, the recipient can do it too, in johnzon we can add some checks 
[https://github.com/apache/johnzon/blob/master/johnzon-core/src/main/java/org/apache/johnzon/core/JsonObjectBuilderImpl.java#L180]
 (I assume we'll add an enum with a default impl being a noop) since our reader 
relies on that 
([https://github.com/apache/johnzon/blob/master/johnzon-core/src/main/java/org/apache/johnzon/core/JsonReaderImpl.java)|https://github.com/apache/johnzon/blob/master/johnzon-core/src/main/java/org/apache/johnzon/core/JsonReaderImpl.java).]
 . It would avoid the caller to have to wrap the parser and maintain the key 
list - current solution. That said it is unrelated to this particular ticket so 
can be worth opening a new one ;).

> Support I-JSON compatibility as required by JSON-B
> --------------------------------------------------
>
>                 Key: JOHNZON-234
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-234
>             Project: Johnzon
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>            Priority: Major
>             Fix For: 1.2.0
>
>




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

Reply via email to