Files
Newtonsoft.Json/Doc/Samples/Serializer/CustomJsonConverterGeneric.aml
T
tzachshabtay 44539a8f00 Fix docs for generic custom json converter (#1909)
The previous text was for the non generic custom json converter sample (probably copy/paste error).
2018-11-13 13:35:40 +13:00

17 lines
936 B
XML

<?xml version="1.0" encoding="utf-8"?>
<topic id="CustomJsonConverterGeneric" revisionNumber="1">
<developerConceptualDocument xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink">
<introduction>
<para>This sample creates a custom <codeEntityReference>T:Newtonsoft.Json.JsonConverter{T}</codeEntityReference>
that overrides serialization for the Version property with a custom display string.</para>
</introduction>
<section>
<title>Sample</title>
<content>
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\Samples\Serializer\CustomJsonConverterGeneric.cs" region="Types" title="Types" />
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\Samples\Serializer\CustomJsonConverterGeneric.cs" region="Usage" title="Usage" />
</content>
</section>
</developerConceptualDocument>
</topic>