0
Ich habe json Antwort-Erholung Jersey json Codierung
"storeId": 1,
"name": "Тестовый магазин",
"address": "1й волоколамский проезд д.10",
"productIdList": [
{
"productId": 1,
"productName": "Zewa Deluxe Camomile Comfort",
"price": 21.3,
},
{
"productId": 2,
"productName": "Аленка. Молочный шоколад(Крвсный Октябрь)",
"price": 55,
},
{
"productId": 3,
"productName": "Safeguard. Пенка для детей.",
"price": 97.5,
}
]
}
Meine Header ist
Transfer-Encoding chunked
#status# HTTP/1.1 200 OK
Server Jetty(6.1.25)
Content-Type application/json; charset=utf-8
Charset ich in meinem REST Anmerkung erklären:
@Produces("application/json;charset=utf-8")
Wie kann ich das Problem beheben mit diese Zeichencodierung?
Mögliches Duplikat [Jersey Web-Service-json UTF- 8 encoding] (http://stackoverflow.com/questions/9359728/jersey-web-service-json-utf-8-encoding) –
Funktioniert nicht. Habe alle Fälle aus diesem Thema ausprobiert –
Was ist "das Problem"? –