1
<?xml version="1.0" encoding="utf-8"?>
2
<topic id="CustomCreationConverter" revisionNumber="1">
3
<developerConceptualDocument xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink">
6
<para>Optional summary abstract</para>
10
<para>The <codeEntityReference>T:Newtonsoft.Json.Converters.CustomCreationConverter`1</codeEntityReference>
11
is a JsonConverter that provides a way
12
to customize how an object is created during JSON deserialization. Once
13
the object has been created it will then have values populated onto it by
14
the serializer.</para>
17
<title>Example</title>
19
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="CustomCreationConverterObject" title="CustomCreationConverter" />
20
<para>This is an extremely simple example. A more complicated scenario
21
could involve an object factory or service locator which resolves the
22
object at runtime.</para>
23
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="CustomCreationConverterExample" title="CustomCreationConverter Example" />
27
<codeEntityReference>T:Newtonsoft.Json.Converters.CustomCreationConverter`1</codeEntityReference>
29
</developerConceptualDocument>
b'\\ No newline at end of file'