You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "sanmitra ijeri (JIRA)" <ji...@apache.org> on 2015/05/28 12:48:17 UTC
[jira] [Updated] (CXF-6422) How to serialize HashMaps using
JSONProvider
[ https://issues.apache.org/jira/browse/CXF-6422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sanmitra ijeri updated CXF-6422:
--------------------------------
Summary: How to serialize HashMaps using JSONProvider (was: How to deserialize HashMaps)
> How to serialize HashMaps using JSONProvider
> --------------------------------------------
>
> Key: CXF-6422
> URL: https://issues.apache.org/jira/browse/CXF-6422
> Project: CXF
> Issue Type: Test
> Reporter: sanmitra ijeri
> Priority: Blocker
>
> I have a service which returns a HashMap, and I am using org.apache.cxf.jaxrs.provider.json.JSONProvider as my json provider, but I get error "No message body writer has been found for class java.util.Collections$EmptyMap, ContentType: application/json". How can I fix this ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)