c# Programming Glossary: jsonwriter
JSON.net - field is either string or List<string> http://stackoverflow.com/questions/10121804/json-net-field-is-either-string-or-liststring reader.Value as string public override void WriteJson JsonWriter writer object value JsonSerializer serializer ToDo here we..
Parsing ISO Duration with JSON.Net http://stackoverflow.com/questions/12633588/parsing-iso-duration-with-json-net JsonConverter public override void WriteJson JsonWriter writer object value JsonSerializer serializer var ts TimeSpan..
Deserializing polymorphic json classes without type information using json.net http://stackoverflow.com/questions/19307752/deserializing-polymorphic-json-classes-without-type-information-using-json-net item.ToObject GalleryImage public override void WriteJson JsonWriter writer object value JsonSerializer serializer throw new NotImplementedException..
C# JSON custom serialization http://stackoverflow.com/questions/4547550/c-sharp-json-custom-serialization new NotImplementedException public override void WriteJson JsonWriter writer object value JsonSerializer serializer var item KeyValuePair..
How to implement custom JsonConverter in JSON.NET to deserialize a List of base class objects http://stackoverflow.com/questions/8030538/how-to-implement-custom-jsonconverter-in-json-net-to-deserialize-a-list-of-base target return target public override void WriteJson JsonWriter writer object value JsonSerializer serializer throw new NotImplementedException..
How to create a JSON.NET Date to String custom Converter http://stackoverflow.com/questions/8639315/how-to-create-a-json-net-date-to-string-custom-converter reader.Value.ToString public override void WriteJson JsonWriter writer object value JsonSerializer serializer writer.WriteValue..
Serializing null in JSON.NET http://stackoverflow.com/questions/8833961/serializing-null-in-json-net objectType ... public override void WriteJson JsonWriter writer object value JsonSerializer serializer string strValue.. the default .WriteNull implementation... public class NullJsonWriter JsonTextWriter ... public override void WriteNull this.WriteValue..
Cannot deserialize JSON array into type - Json.NET http://stackoverflow.com/questions/9452901/cannot-deserialize-json-array-into-type-json-net end array return model public override void WriteJson JsonWriter writer object value JsonSerializer serializer throw new NotImplementedException..
|