When build in VS there is a exception occurs which is as following:
Missing compiler required member 'System.Runtime.CompilerServices.ExtensionAttribute..ctor'
Could you please explain what's the ...
Id #24316 | Release:
None
| Updated: Fri at 10:57 AM by pangxiaoliang | Created: Fri at 10:57 AM by pangxiaoliang
When serializing a Guid property using the BSONWriter, loading the result in a JObject does not allow me to get the property using the "Value<>" method. The JToken uses the Extensions.cs instead of...
Id #24314 | Release:
None
| Updated: Fri at 5:08 AM by kl_mallory | Created: Fri at 4:53 AM by kl_mallory
In the current implementation of Json.NET, TypeConverters on interfaces and abstract classes are not handled properly (in my opinion). If such a converter exists on an interface, the following code...
Id #24301 | Release:
None
| Updated: Fri at 12:38 PM by macandy13 | Created: Tue at 9:01 AM by macandy13
Hi James,
I am trying to skip the null values, but after upgrade to 4.5, NullValueHandling.Ignore settings are not working, it was working fine earlier. I am using it inside WebAPI, I even tried t...
Id #24273 | Release:
None
| Updated: Tue at 7:05 AM by JamesNK | Created: May 11 at 12:32 PM by anwarjaved82
JsonSchema.Parse() gets a NullReferenceException if the schema contains the 'required' property.
EDIT: I now see why this wasn't working. http://json-schema.org/examples.html shows 'required' as t...
Id #24038 | Release:
None
| Updated: Mar 5 at 2:40 PM by RickMohr | Created: Mar 5 at 1:50 PM by RickMohr
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 a...
Id #23819 | Release:
None
| Updated: Feb 22 at 1:47 AM by MsdnDev | Created: Jan 22 at 4:35 PM by MsdnDev
Can we define our own error message for JSON validate method?
For example, this error message "String '1490AA00' does not match regex pattern '^(\d{5})[A-Z]{2}(\d{2})$'." does not make much sense...
Id #22537 | Release:
None
| Updated: Feb 22 at 1:48 AM by JsonSpc | Created: Apr 23, 2012 at 3:00 AM by JsonSpc
Hello,
I think there is an issue with the way JsonTypeReflector.DynamicCodeGeneration is set. It is a lazy static getter that is never updated. The value of JsonTypeReflector.DynamicCodeGeneratio...
Id #21575 | Release:
None
| Updated: Feb 22 at 1:48 AM by B4ptiste | Created: Sep 27, 2011 at 4:31 PM by B4ptiste
Hi,
More info: http://json.codeplex.com/discussions/245862
Either:
a SerializeObject<T> where T is used as type for reflecting the properties and not the actual type of the item being passed.
...
Id #20017 | Release:
None
| Updated: Feb 22 at 1:48 AM by DanielSchaffer | Created: Feb 15, 2011 at 6:58 AM by sedanwer