Click or drag to resize
Json.NET

Newtonsoft.Json.Serialization Namespace

 
The Newtonsoft.Json.Linq namespace provides classes that are used when serializing and deserializing JSON.
Classes
  ClassDescription
Public classCamelCaseNamingStrategy
A camel case naming strategy.
Public classCamelCasePropertyNamesContractResolver
Resolves member mappings for a type, camel casing property names.
Public classDefaultContractResolver
Used by JsonSerializer to resolve a JsonContract for a given Type.
Public classDefaultNamingStrategy
The default naming strategy. Property names and dictionary keys are unchanged.
Public classDefaultSerializationBinder
The default serialization binder used when resolving and loading classes from type names.
Public classDiagnosticsTraceWriter
Represents a trace writer that writes to the application's TraceListener instances.
Public classDynamicValueProvider
Get and set values for a MemberInfo using dynamic methods.
Public classErrorContext
Provides information surrounding an error.
Public classErrorEventArgs
Provides data for the Error event.
Public classExpressionValueProvider
Get and set values for a MemberInfo using dynamic methods.
Public classJsonArrayContract
Contract details for a Type used by the JsonSerializer.
Public classJsonContainerContract
Contract details for a Type used by the JsonSerializer.
Public classJsonContract
Contract details for a Type used by the JsonSerializer.
Public classJsonDictionaryContract
Contract details for a Type used by the JsonSerializer.
Public classJsonDynamicContract
Contract details for a Type used by the JsonSerializer.
Public classJsonISerializableContract
Contract details for a Type used by the JsonSerializer.
Public classJsonLinqContract
Contract details for a Type used by the JsonSerializer.
Public classJsonObjectContract
Contract details for a Type used by the JsonSerializer.
Public classJsonPrimitiveContract
Contract details for a Type used by the JsonSerializer.
Public classJsonProperty
Maps a JSON property to a .NET member or constructor parameter.
Public classJsonPropertyCollection
A collection of JsonProperty objects.
Public classJsonStringContract
Contract details for a Type used by the JsonSerializer.
Public classMemoryTraceWriter
Represents a trace writer that writes to memory. When the trace message limit is reached then old trace messages will be removed as new messages are added.
Public classNamingStrategy
A base class for resolving how property names and dictionary keys are serialized.
Public classOnErrorAttribute
When applied to a method, specifies that the method is called when an error occurs serializing an object.
Public classReflectionAttributeProvider
Provides methods to get attributes from a Type, MemberInfo, ParameterInfo or Assembly.
Public classReflectionValueProvider
Get and set values for a MemberInfo using reflection.
Public classSnakeCaseNamingStrategy
A snake case naming strategy.
Interfaces
  InterfaceDescription
Public interfaceIAttributeProvider
Provides methods to get attributes.
Public interfaceCode exampleIContractResolver
Used by JsonSerializer to resolve a JsonContract for a given Type.
Public interfaceIReferenceResolver
Used to resolve references when serializing and deserializing JSON by the JsonSerializer.
Public interfaceISerializationBinder
Allows users to control class loading and mandate what class to load.
Public interfaceITraceWriter
Represents a trace writer.
Public interfaceIValueProvider
Provides methods to get and set values.
Delegates
  DelegateDescription
Public delegateExtensionDataGetter
Gets extension data for an object during serialization.
Public delegateExtensionDataSetter
Sets extension data for an object during deserialization.
Public delegateObjectConstructorT
Represents a method that constructs an object.
Public delegateSerializationCallback
Handles JsonSerializer serialization callback events.
Public delegateSerializationErrorCallback
Handles JsonSerializer serialization error callback events.