You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2015/06/01 19:55:17 UTC

[jira] [Resolved] (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 ]

Sergey Beryozkin resolved CXF-6422.
-----------------------------------
    Resolution: Won't Fix

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