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