I use JSON.NET on deserialization into CLR class. Everything is ok with deserialize JSON into class, in class constructor I try make a BitmapImage and set to the class property Photo. Problem is prope
I haven\'t seen much information about Json.NET supporting deserializing objects with readonly fields. I do notice that the .NET DataContract and DataMember attri开发者_JS百科butes allow for populatin
It appears that JSON.NET is writing invalid JSON, although I wouldn\'t be surprised if it was due to my misuse.
I\'m building a Silverlight wp7 app in C#. I have objects that I want to convert to and from JSON. I\'m using JSON.NET.
I know there\'s an attribute to handle private setters but I kind of want this behavior as a default, is there a way to accomplish this? Except tweaking the source. Would be gr开发者_Go百科eat if ther
I have JSON like this: { \"Property\":\"Blah blah\", \"Dictionary\": { \"Key1\" : \"Value1\", \"Key2\" : \"Value2\",
I\'ve got a 2-dimensional array of values in JSON format: [[57, 2], [57, 2], [58, 2], [55, 2], [60, 2], [54, 1], [59, 11]]
I\'m trying to do some simple JSON manipulation on the Windows Phone 7. JSON.NET looks great, but VS2010 complains when I try to add a reference to it.
I have a file in JSON format with record for individual users. Some of the users have a comment field stuck in the middle of their records. I just want to parse top-level items (
I have the following: public class MyClass : SuperClass { [JsonProperty] public virtu开发者_StackOverflowal string Id { get; set; }