cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6422) How to serialize HashMaps using JSONProvider
Date Mon, 01 Jun 2015 17:55:17 GMT

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

Mime
View raw message