[
https://issues.apache.org/jira/browse/JOHNZON-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau updated JOHNZON-333:
---------------------------------------
Fix Version/s: 1.2.11
> Invalid String serialization from JsonB string objects
> ------------------------------------------------------
>
> Key: JOHNZON-333
> URL: https://issues.apache.org/jira/browse/JOHNZON-333
> Project: Johnzon
> Issue Type: Bug
> Components: JSON-B
> Affects Versions: 1.2.10
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Priority: Major
> Fix For: 1.2.11
>
>
> {code:java}
> jsonb.toJson("test");
> {code}
> should result in "test" as String. That includes quote.
> The spec says
> {quote}3.3.1 java.lang.String, Character
> Instances of type java.lang.String and java.lang.Character are serialized to
> JSON String values as defined within RFC 7159 Section 7 (Strings) [1] in
> UTF-8 encoding without a byte order mark.
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)