-Documentation

This commit is contained in:
James Newton-King
2012-11-20 11:39:11 +13:00
parent ed1aa12336
commit 122073b6ca
7 changed files with 218 additions and 2 deletions
+13
View File
@@ -338,6 +338,19 @@ or a property's object properties or collection items using
</content>
</section>
<section>
<title>TraceWriter</title>
<content><para>The Json.NET serializer supports logging using the <codeEntityReference>T:Newtonsoft.Json.Serialization.ITraceWriter</codeEntityReference>
interface. By assigning a trace writer you can debug what is happening inside the Json.NET serializer when
serializing and deserializing JSON.</para>
<para>Read more about TraceWriters here: <externalLink>
<linkText>Debug with Serialization Tracing</linkText>
<linkUri>SerializationTracing.htm</linkUri>
<linkTarget>_self</linkTarget>
</externalLink></para>
</content>
</section>
<section>
<title>Error</title>
<content><para>The <codeEntityReference>E:Newtonsoft.Json.JsonSerializer.Error</codeEntityReference> event can catch errors during serialization and either handle the event and continue with