New Post: json with html value
Thanks for reply, but I receive the hj's string from webservice, How can I correct the received string to parse it correctly?
View ArticlePatch Uploaded: #13680
emdadgar2 has uploaded a patch.Description:IDataReaderConverter to serialize IDatareaderby Emdadgar2@gmail.com
View ArticleCreated Issue: Custom JsonConverter does not respect ItemTypeNameHandling...
After adding a custom *JsonConverter* using *ItemConverterType* which just calls `serializer.Serialize(writer, value)` and `serializer.Deserialize(reader, objectType)` (pass through without adding any...
View ArticleNew Post: json with html value
babsevensix wrote:Thanks for reply, but I receive the hj's string from webservice, How can I correct the received string to parse it correctly?Not sure it'll be easy. Do you have access to this web...
View ArticleNew Post: json with html value
I have other application that work... I try fiddler and it work, it parse json correctly...
View ArticleClosed Issue: Can not add Newtonsoft.Json.Linq.JValue to...
Hi, today I noticed, maybe, a bug, that is generated when I try to serialize a JObject created from its constructor. Here is the code(it is C#):In this way it works:```var json = new...
View ArticleCommented Issue: Memory leak in JsonMediaTypeFormatter when...
JsonMediaTypeFormatter has a public property to access the SerializerSettings, you can set ReferenceResolver to your custom class.When the media type formatter creates the JsonSerializer instances, it...
View ArticleCommented Issue: Memory leak in JsonMediaTypeFormatter when...
JsonMediaTypeFormatter has a public property to access the SerializerSettings, you can set ReferenceResolver to your custom class.When the media type formatter creates the JsonSerializer instances, it...
View ArticleCommented Issue: SerializeValue/SerializeList stack overflow with active...
Json.net 4.5.11 has a major issue where you can get a StackOverflowException even if PreserveReferencesHandling is nset to PreserveReferencesHandling.All and ReferenceLoopHandling is set to...
View ArticleCommented Issue: Schema validation format [23812]
Hello,It looks like the JObject validation (JObject.IsValid) is ignoring the format (http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23) information. For example, the following object:{...
View ArticleCreated Issue: JSON schema with data annotation [23819]
Hello,I had the requirements of being able to add more constraints to properties in the JSON schema. I then implemented a post processing schema generation that scans all property attributes and adds...
View ArticleCreated Issue: InvalidProgramException when serializing complex object [23827]
I have a complex view model structure. When I try to send this view model to as a ApiController return value and let WebApi use the JsonMediaTypeFormatter, I get an InvalidProgramException.Exception...
View ArticleClosed Issue: InvalidProgramException when serializing complex object [23827]
I have a complex view model structure. When I try to send this view model to as a ApiController return value and let WebApi use the JsonMediaTypeFormatter, I get an InvalidProgramException:...
View ArticleClosed Issue: Memory leak in JsonMediaTypeFormatter when...
JsonMediaTypeFormatter has a public property to access the SerializerSettings, you can set ReferenceResolver to your custom class.When the media type formatter creates the JsonSerializer instances, it...
View ArticleClosed Issue: Custom JsonConverter does not respect ItemTypeNameHandling...
After adding a custom *JsonConverter* using *ItemConverterType* which just calls `serializer.Serialize(writer, value)` and `serializer.Deserialize(reader, objectType)` (pass through without adding any...
View ArticleClosed Issue: TimeZoneNotFoundException in WriteDateTimeString...
DLL : Json45r11\Bin\Net40\Newtonsoft.Json.dllFramework : Mono 4.0.30319.1Invoked code (from ildasm) : result = JsonConvert.SerializeObject(this.Data);Exception : System.TimeZoneNotFoundException:...
View ArticleCommented Issue: InvalidProgramException when serializing complex object [23827]
I have a complex view model structure. When I try to send this view model to as a ApiController return value and let WebApi use the JsonMediaTypeFormatter, I get an InvalidProgramException:...
View ArticleCommented Issue: InvalidProgramException when serializing complex object [23827]
I have a complex view model structure. When I try to send this view model to as a ApiController return value and let WebApi use the JsonMediaTypeFormatter, I get an InvalidProgramException:...
View ArticleCreated Issue: Protected ctor does not get called [23831]
In the example below, why does the public ctor get picked instead of the default protected ctor?This will fail because of this - it will succeed if the default ctor gets pickedvoid Main(){...
View ArticleCommented Issue: Required property 'x' not found in JSON. Path '', line x,...
Hi,I'm not sure whether this is a bug that was introduced in 4.5.9 or that was fixed in 4.5.9.Basically we've got a Web API that our MVC Application post's to, both with the same version of...
View Article