cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sanmitra ijeri (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-6422) How to serialize HashMaps using JSONProvider
Date Thu, 28 May 2015 10:48:17 GMT

     [ 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)

Mime
View raw message