You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2015/08/28 13:14:46 UTC
[jira] [Updated] (SYNCOPE-688) JSON (de)serialization not working
in Glassfish 4.1
[ https://issues.apache.org/jira/browse/SYNCOPE-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò updated SYNCOPE-688:
-------------------------------------------
Attachment: tomcat.json
glassfish.json
REST endpoint: {{/syncope/rest/}}
header {{"Accept: application/json"}}
{{tomcat.json}} is JSON string returned when Syncope runs with Tomcat 8.
{{glassfish.json}} is JSON string returned when Syncope runs with Glassfish 4.1
> JSON (de)serialization not working in Glassfish 4.1
> ---------------------------------------------------
>
> Key: SYNCOPE-688
> URL: https://issues.apache.org/jira/browse/SYNCOPE-688
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0
> Environment: Glassfish 4.1
> Reporter: Francesco Chicchiriccò
> Fix For: 2.0.0
>
> Attachments: glassfish.json, tomcat.json
>
>
> With Glassfish 4.1, it seems that Jackson gives priority to JAXB annotations over Jackson's; as a result, the JSON objects serialized via REST are not formed as the client deserializer expects.
> See attached files for reference.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)