¡@

Home 

c# Programming Glossary: writejson

JSON.net - field is either string or List<string>

http://stackoverflow.com/questions/10121804/json-net-field-is-either-string-or-liststring

List string reader.Value as string public override void WriteJson JsonWriter writer object value JsonSerializer serializer ToDo..

Parsing ISO Duration with JSON.Net

http://stackoverflow.com/questions/12633588/parsing-iso-duration-with-json-net

class TimeSpanConverter JsonConverter public override void WriteJson JsonWriter writer object value JsonSerializer serializer var..

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

return item.ToObject GalleryImage public override void WriteJson JsonWriter writer object value JsonSerializer serializer throw..

C# JSON custom serialization

http://stackoverflow.com/questions/4547550/c-sharp-json-custom-serialization

throw new NotImplementedException public override void WriteJson JsonWriter writer object value JsonSerializer serializer var..

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

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

DateTime.Parse 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

called for a property that has a null value and therefore WriteJson is not called either. Apparently nulls are automatically serialized.. .IsAssignableFrom objectType ... public override void WriteJson JsonWriter writer object value JsonSerializer serializer ..

Cannot deserialize JSON array into type - Json.NET

http://stackoverflow.com/questions/9452901/cannot-deserialize-json-array-into-type-json-net

reader.Read end array return model public override void WriteJson JsonWriter writer object value JsonSerializer serializer throw..