New Post: Check for change in structure
Recently twitter added a new field called "favorite_count". I missed it. I want to know if there is any way I can store the structure of a json file, so if there is some change in the future I know it...
View ArticleCreated Issue: Regex deserialization exception with mono [24093]
Deserializeing a Regex on .net 4.0 works fine but throws an exception on Mono (tested on 2.6.7 Linux and 2.10.11 MacOSX)```$ mono -VMono JIT compiler version 2.6.7 (Debian 2.6.7-5)Copyright (C)...
View ArticleCommented Issue: PreserveReferencesHandling relies on object property order...
The PreserveReferencesHandling option will not deserialize references correctly if an object's "$id" property appears after other properties where the object is referenced:{"circularRef": { "$ref": "1"...
View ArticleCreated Issue: How to create param object in JArray using json.net dll [24096]
I have to send a request as follows in .Net- {"method" : "exec","params" : [{"url" : "sys/login/user","data" : [{"user" : "abc","passwd" : "pqr"}]}],"id" : 1}I am not able to create the JArray object...
View ArticleCommented Issue: How to create param object in JArray using json.net dll [24096]
I have to send a request as follows in .Net- {"method" : "exec","params" : [{"url" : "sys/login/user","data" : [{"user" : "abc","passwd" : "pqr"}]}],"id" : 1}I am not able to create the JArray object...
View ArticleNew Post: Stripping the "Z" from the ISO serialized DateTime?
I'm using JSON.NET to send data up to a server, and alas the server's date format processing requires the date format to be: yyyy-MM-ddTHH:mm:ss If I set the timezone handling on my converter to UTC I...
View ArticleClosed Issue: How to create param object in JArray using json.net dll [24096]
I have to send a request as follows in .Net- {"method" : "exec","params" : [{"url" : "sys/login/user","data" : [{"user" : "abc","passwd" : "pqr"}]}],"id" : 1}I am not able to create the JArray object...
View ArticleClosed Issue: Regex deserialization exception with mono [24093]
Deserializeing a Regex on .net 4.0 works fine but throws an exception on Mono (tested on 2.6.7 Linux and 2.10.11 MacOSX)```$ mono -VMono JIT compiler version 2.6.7 (Debian 2.6.7-5)Copyright (C)...
View ArticleReviewed: Json.NET 4.5 Release 11 (三月 22, 2013)
Rated 5 Stars (out of 5) - very good. free
View ArticleClosed Issue: TypeNameHandling.Auto and Serializing Derived Type [23891]
Scenario:```public abstract class Entity { ... }public class Cat : Entity { ... }public class Dog : Entity { ... }```It would be nice if the following were to happen with...
View ArticleClosed Issue: StringEnumConverter throws ArgumentException instead of...
If you're using using the StringEnumConverter on a Json Serializer, you end up getting different exceptions when deserializing invalid enums. While you can still deserialize strings as enums using the...
View ArticleReviewed: Json.NET 4.5 Release 11 (Mar 24, 2013)
Rated 5 Stars (out of 5) - This is very good !Thanks...
View ArticleReviewed: Json.NET 4.5 Release 11 (三月 25, 2013)
Rated 5 Stars (out of 5) - good,easy to use
View ArticleClosed Issue: Large decimal values getting corrupt and does not roundtrip....
During deserialization using JObject.Parse(json), the literal decimal values are getting converted to double. In cases when decimal value is large it's getting corrupted with huge loss of precision...
View ArticleReviewed: Json.NET 4.0 Release 3 (Mar 26, 2013)
Rated 5 Stars (out of 5) - goood release
View ArticleNew Post: Any way to make json.net ignore dictionary entries where value is...
I am using web api with asp.net. I won't show the c# class that I am serializing. I do know about [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] . I am wondering if json.net could be made...
View ArticleNew Post: Ignoring empty lists/arrays
right now it deserialize empty arrays and list as null, is this on purpose? because in my app i want that if the user send an empty array it's mean to clear the list. if it send a null value or doesn't...
View ArticleCreated Issue: deserialize empty lists [24107]
result of deserializing this object: __{ tags:[] }__will be __{ tags:null }__why?
View ArticleCommented Issue: deserialize empty lists [24107]
result of deserializing this object: __{ tags:[] }__will be __{ tags:null }__why?Comments: ** Comment from web user: ygplatform ** sorry the Json.Net work fine!! it's the MVC platform that don't handle...
View ArticleNew Post: Selecting the Correct constructor Without an Attribute?
We have lots of entities with multiple constructors. But, they can all have a public or private parameter-less constructor. Is there a way to configure json.net to always use this constructor without...
View Article