Top "Jsonserializer" questions

The JsonSerializer enables to control how objects are encoded into JSON.

PHP fatal error: Interface 'JsonSerializable' not found

I have moved and configured my D8 site from Windows to Ubuntu 14.04 PC today. But when I run the site …

php json jsonserializer
How to map JSON response to custom class object

I am calling an API in C# using unirest.io. I get following JSON response (as response.Body). { "persons": [{ "id": "…

c# json jsonserializer unirest
MVC 3 - JSON serializer

I have the following model, view and controller. Model public class Person { public string Name;// { get; set; } public string Occupation { …

asp.net json asp.net-mvc-3 jquery jsonserializer
Polymorphic serialization using Jackson when return type is marker interface

I have a rest service which returns marker interface and this interface have multiple implementations and don't have any common …

rest spring-mvc jackson jsonserializer
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type with complex and nested objects

I`m trying to build web api for complex object. For this aim I built the custom binder which deserialize …

c# asp.net-web-api json.net jsonserializer
How to pass parameter to JsonSerializer?

I have a simple data service : @GET public Data getData(@QueryParam("id") Long id) { Data data = dataService.getData(id); return …

java jackson jax-rs dropwizard jsonserializer
Deserializing BSON ReadBsonType can only be called when State is Type

I have the following Code: using MongoDB.Bson; using MongoDB.Bson.IO; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.…

c# mongodb jsonserializer
Serialize JSON string that contains escaped (backslash and double quote) Swift return Badly formed object

I have response string from the backend like this: { "status": "success", "data": "{\"name\":\"asd\",\"address\":\"Street 1st\"}" } I think the …

ios json swift nsjsonserialization jsonserializer
How to unit test a custom Jackson JsonSerializer?

I wrote the following JsonSerializer to let Jackson serialize an array of integers into JSON: import com.fasterxml.jackson.core.…

java json junit jackson jsonserializer