[infinispan-issues] [JBoss JIRA] (ISPN-10166) Unnecessary String wrapping when converting to JSON
Galder Zamarreño (Jira)
issues at jboss.org
Fri May 3 02:41:00 EDT 2019
[ https://issues.jboss.org/browse/ISPN-10166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-10166:
------------------------------------
Affects Version/s: 10.0.0.Beta3
> Unnecessary String wrapping when converting to JSON
> ---------------------------------------------------
>
> Key: ISPN-10166
> URL: https://issues.jboss.org/browse/ISPN-10166
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
> Priority: Major
>
> A client that requests data in JSON format, does not always get data in JSON format.
> When using listener converters, such as "key-value-with-previous-converter-factory", the server must construct an instance of KeyValueWithPrevious in JSON format, but the resulting output looks like this:
> {code}
> { _type : 'org.infinispan.commons.util.KeyValueWithPrevious', key : '{"k":"jlisten-modify"}', value : '{"v":"jv1"}', prev : '{"v":"jv0"}' }
> {code}
> The problem here is that key/value/prev are wrapped in '' which makes them String. This wrapping should not be done.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list