From b51b3aa20a845e5d8ed35269f9516950750de9f4 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Sat, 3 Nov 2012 12:54:05 +1300 Subject: [PATCH] -Documentation --- Doc/ConditionalProperties.aml | 2 +- Doc/ContractResolver.aml | 27 +++++++++---------- Doc/JsonNetVsWindowsDataJson.aml | 6 ++--- Doc/doc.content | 6 ++--- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- 6 files changed, 22 insertions(+), 23 deletions(-) diff --git a/Doc/ConditionalProperties.aml b/Doc/ConditionalProperties.aml index ba904a51..d87357b9 100644 --- a/Doc/ConditionalProperties.aml +++ b/Doc/ConditionalProperties.aml @@ -35,7 +35,7 @@ T:Newtonsoft.Json.JsonSerializer T:Newtonsoft.Json.Serialization.IContractResolver - M:Newtonsoft.Json.Serialization.JsonProperty.ShouldSerialize + P:Newtonsoft.Json.Serialization.JsonProperty.ShouldSerialize \ No newline at end of file diff --git a/Doc/ContractResolver.aml b/Doc/ContractResolver.aml index 6c628322..db6ecf7e 100644 --- a/Doc/ContractResolver.aml +++ b/Doc/ContractResolver.aml @@ -9,11 +9,10 @@ The T:Newtonsoft.Json.Serialization.IContractResolver interface provides a way to customize how the - JsonSerializer serializes and deserializes .NET objects to JSON without placing attributes on your classes. - Implementing the IContractResolver interface and then assigning an - instance to a JsonSerializer lets you control whether the object is - serialized as a JSON object or JSON array, what object members should be - serialized, how they are serialized and what they are called. + JsonSerializer serializes and deserializes .NET objects to JSON without placing attributes on your classes. + + Anything that can be set on an object, collection, property, etc, using attributes or methods to control serialization + can also be set using an IContractResolver.