You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Derek Moore (JIRA)" <ji...@apache.org> on 2019/07/25 20:49:00 UTC

[jira] [Created] (JOHNZON-224) JsonbAdapter to JsonString serializes pedantically/incorrectly

Derek Moore created JOHNZON-224:
-----------------------------------

             Summary: JsonbAdapter to JsonString serializes pedantically/incorrectly
                 Key: JOHNZON-224
                 URL: https://issues.apache.org/jira/browse/JOHNZON-224
             Project: Johnzon
          Issue Type: Bug
          Components: JSON-B
    Affects Versions: 1.1.12
            Reporter: Derek Moore


Adapting to JsonString to stringify complex or unsupported datatypes to JSON produces unexpected serializations like:
{code:java}
{"customerIds":[{"chars":"46c17c24-4b37-4205-9fa3-873380581a34","string":"46c17c24-4b37-4205-9fa3-873380581a34","valueType":"STRING"}]}{code}
JSON-P JsonString serialization works as expected with Yasson.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)