¡@

Home 

c# Programming Glossary: readjson

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

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

objectType typeof List string public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer..

Parsing ISO Duration with JSON.Net

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

writer tsString public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer..

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

.IsAssignableFrom objectType public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer..

C# JSON custom serialization

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

typeof KeyValuePair string int public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer..

Deserializing JSON when sometimes array and sometimes object

http://stackoverflow.com/questions/5224697/deserializing-json-when-sometimes-array-and-sometimes-object

string . My converter looks like public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer.. attribute. Here is the correct code public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer..

Json.NET: Deserializing nested dictionaries

http://stackoverflow.com/questions/6416017/json-net-deserializing-nested-dictionaries

object base.CanConvert objectType public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer.. reader.TokenType JsonToken.Null return base.ReadJson reader objectType existingValue serializer if the next token..

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

sparse on the net. I can't seem to get the the overridden ReadJson method implementation in JsonConverter right. c# json json.net.. required is to subclass JsonConverter overriding the ReadJson method and creating a new abstract Create method which acceps.. access to the data within this object. The overridden ReadJson method creates a JObject object and invokes the Create method..

Deserializing heterogenous JSON array into covariant List<> using JSON.NET

http://stackoverflow.com/questions/8241392/deserializing-heterogenous-json-array-into-covariant-list-using-json-net

type 0 is not supported type public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer..

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

DateTimeConverterBase public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer..

Cannot deserialize JSON array into type - Json.NET

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

return true return false public override object ReadJson JsonReader reader Type objectType object existingValue JsonSerializer..