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 2016/08/26 08:13:22 UTC

[jira] [Resolved] (JOHNZON-94) JsonStringImpl and friends are not Serializable

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

Romain Manni-Bucau resolved JOHNZON-94.
---------------------------------------
       Resolution: Fixed
         Assignee: Romain Manni-Bucau
    Fix Version/s: 0.9.6

Done,

note that it is not a trivial change since API JsonValue (booleans and null) are NOT serializable. This imply you need to compare using readValue.equals(JsonValue.XXX) to ensure the application still works.



> JsonStringImpl and friends are not Serializable
> -----------------------------------------------
>
>                 Key: JOHNZON-94
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-94
>             Project: Johnzon
>          Issue Type: Bug
>          Components: Core
>         Environment: TomEE-7.0.2-SNAPSHOT
>            Reporter: Adam Cornett
>            Assignee: Romain Manni-Bucau
>            Priority: Minor
>             Fix For: 0.9.6
>
>
> JsonStringImpl and friends are not serializable, and it looks like they easily could be.
> This is an issue because in some parts of my application I stick a JsonObject into the session, I can work around it by storing the native types instead, but it seems like these types should be able to serialize since they are wrappers around Java primitives.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)