Quantcast
Channel: Json.NET
Browsing all 1767 articles
Browse latest View live
↧

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 Article


Patch Uploaded: #13680

emdadgar2 has uploaded a patch.Description:IDataReaderConverter to serialize IDatareaderby Emdadgar2@gmail.com

View Article


Created 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 Article

New 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 Article

New Post: json with html value

I have other application that work... I try fiddler and it work, it parse json correctly...

View Article


Closed 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 Article

Commented 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 Article

Commented 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 Article


Commented 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 Article


Commented 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 Article

Created 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 Article

Created 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 Article

Closed 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 Article


Closed 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 Article

Closed 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 Article


Closed 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 Article

Commented 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 Article


Commented 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 Article

Created 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 Article

Commented 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
Browsing all 1767 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>