-Documentation
This commit is contained in:
@@ -234,6 +234,9 @@
|
||||
In situations where a JSON array is not wanted the JsonObjectAttribute can be placed
|
||||
on a .NET type that implements IEnumerable to force the type to be serialized as
|
||||
a JSON object instead.</p>
|
||||
<p>
|
||||
JsonArrayAttribute has options on it to customize the JsonConverter, type name handling
|
||||
and reference handling that are applied to collection items.</p>
|
||||
<p>
|
||||
Note that if TypeNameHandling or PreserveReferencesHandling has been enabled for
|
||||
JSON arrays on the serializer then JSON arrays are wrapped it a containing object.
|
||||
@@ -254,6 +257,9 @@
|
||||
serializing and properties on the JSON object will be added to the dictionary's
|
||||
name/values when deserializing. Additional members on the .NET dictionary are ignored
|
||||
during serialization.</p>
|
||||
<p>
|
||||
JsonDictionaryAttribute has options on it to customize the JsonConverter, type name handling
|
||||
and reference handling that are applied to collection items.</p>
|
||||
<p>
|
||||
When deserializing if a member is typed as the interface IDictionary<TKey, TValue>
|
||||
then it will be deserialized as a Dictionary<TKey, TValue>.</p>
|
||||
|
||||
Reference in New Issue
Block a user