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

David Blevins updated JOHNZON-367:
----------------------------------
    Fix Version/s: 1.2.18

> Show a chunk of json when mapping the object fails
> --------------------------------------------------
>
>                 Key: JOHNZON-367
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-367
>             Project: Johnzon
>          Issue Type: Improvement
>          Components: Core, JSON-B, Mapper
>            Reporter: David Blevins
>            Priority: Major
>             Fix For: 1.2.18
>
>
> This appears in a stacktrace like the following
> {{}}
> {code:java}
> javax.json.bind.JsonbException: Can't map JSON Object to class 
> java.lang.String: {"rendered":"Privacy Policy"}
>  at org.apache.johnzon.jsonb.JohnzonJsonb.fromJson(JohnzonJsonb.java:89){code}
>  
> As per the conversation in the PR, this is being done in a way that avoids 
> serializing more of the json than necessary.
> https://github.com/apache/johnzon/pull/84



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to