Created Unassigned: Add support for conditional serialization with...
Json.NET Documentation specifies 'the ability to conditionally serialize properties by placing a ShouldSerialize method on a class'. However, testing with a dynamically added System.Func<bool> to...
View ArticleCreated Unassigned: can I request a feature to ignore the TypeConvertor? [25583]
I have a class , for support a Window Form Designer, I define a custom TypeConvertor:and also I need to implement a web deisigner, but JsonConvert will call the TypeConvertor to get the string return...
View ArticleCreated Unassigned: References context lost when using a custom...
I've created a JsonConverter for one of my objects to write and parse an added property. I've followed the example provided with the documentation for CustomJsonConverter but there seems to either be a...
View ArticleNew Post: It seems Json.net references System.Net.Sockets in some way? Is...
Yes it is. I am digging through the source code trying to find this issue and all variations of Json have one of the three problems.Compiled against .net 4Use System.Net (really ? Why ?) Use...
View ArticleNew Post: Json.NET on Unity iOS
Json.net uses Reflection.Emit to generate objects. This will crash Unity3d running on IOS. You need to use a variant which does not use Reflection.Emit. That said, currently all variants are flawed in...
View ArticleNew Post: For a single domain model, can I serialize to and deserialize from...
The reason for this question is because I am building a Windows App. This App will have to compose a webservice request with data which comes from the following locations: other domain objects (in...
View ArticleCreated Unassigned: Issue with Whitespackae in select token Version 6.0.3...
Hi,I have just upgraded from version 5.0.1 to 6.0.3 and one of the things that has now started failing is when there is a space in the property name for eg public class Product{/// <summary>///...
View ArticleNew Post: Error on selectToken when Whitespace appears in property name in...
Hi, I have just upgraded from version 5.0.1 to 6.0.3 and one of the things that has now started failing is when there is a space in the property name for eg public class Product{ /// <summary>...
View ArticleNew Post: not working in vista and window server
Great post Replacement Birth Certificate
View ArticleCreated Unassigned: JObject.Value throws exception on valid guid string [25599]
http://james.newtonking.com/json/help/index.html?topic=html/M_Newtonsoft_Json_Linq_JObject_GetValue_1.htmTrying to parse from a string to a Guid using the JObject.Value<T> Method will throw an...
View ArticleNew Post: Json Convert doesn't work with Tracking in Windows Workflow
Currently, I'm having problem serializing Dictionary object in Workflow Tracking, here is the code:JsonConvert.SerializeObject(activityStateRecord.Arguments); I used it in Custom Tracking Participant...
View ArticleNew Post: Serialize JSON from DataSet containing JSON
Hi All, I'm storing JSON in my database. I need to return it to the browser, along with other data in a single JSON response. How can I create serialize the DataSet, so the JSON stays as JSON, and not...
View ArticleNew Post: What reasons will cause "JSON unexpected……" related problem
Hello all: Sometimes I found if I use JSON.NET, such error as what is in my topic will happen. So what reasons will cause this problem? 1) Must I add [Serializable] attribute onto a struct or a class?...
View ArticleCreated Unassigned: Null XElement serialization fails [25627]
I found a serialization corner case that JSON.NET doesn't seem to be able to handle, and I've included the code for a very simple test case below:```public class Foo{ public XElement Bar { get; set;...
View ArticleCreated Unassigned: JsonConvert.PopulateObject does not support...
JsonConvert.PopulateObject does not support DateFormatString = "dd/MM/yyy"Hi there, A am serializing code using return JsonConvert.SerializeObject(obj, settings);then trying to repopulate it with...
View ArticleNew Post: Why I am not getting key/value pair?
This is the initial PHP code preparing JSON on the server and send.$response = array(1000 => array($ev1, $ev1, $ev3), 1001 => array($nl1, $nl2, $nl3)); This is the code on C# which is parsing...
View ArticleNew Post: To be able to serialize only ID field
I want to modify JSON.NET so that when I am serializing Model from my API it sends only an array of IDs for composite Collection Object. For e.g. Class Employee { ICollection<Address> Addresses {...
View ArticleReleased: Json.NET 6.0 Release 4 (Aug 03, 2014)
New feature - Added Merge to LINQ to JSON New feature - Added JValue.CreateNull and JValue.CreateUndefined New feature - Added Windows Phone 8.1 support to .NET 4.0 portable assembly New feature -...
View ArticleCreated Release: Json.NET 6.0 Release 4 (Aug 03, 2014)
New feature - Added Merge to LINQ to JSON New feature - Added JValue.CreateNull and JValue.CreateUndefined New feature - Added Windows Phone 8.1 support to .NET 4.0 portable assembly New feature -...
View Article