-Line endings
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>CustomCreationConverter</title>
|
||||
<link href="styles.css" rel="stylesheet" type="text/css" />
|
||||
<link href="custom.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="control">
|
||||
<span class="productTitle">Json.NET - Quick Starts & API Documentation</span><br />
|
||||
<span class="topicTitle">CustomCreationConverter</span></div>
|
||||
|
||||
<div id="content">
|
||||
<span style="color: DarkGray"> </span>
|
||||
|
||||
<p>
|
||||
The CustomCreationConverter is a JsonConverter that provides a way to customize how an object is created
|
||||
during JSON deserialization.
|
||||
Once the object has been created it will then have values populated onto it by the serializer.
|
||||
</p>
|
||||
|
||||
<div class="overflowpanel"> <div class="code">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>CustomCreationConverter</title>
|
||||
<link href="styles.css" rel="stylesheet" type="text/css" />
|
||||
<link href="custom.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="control">
|
||||
<span class="productTitle">Json.NET - Quick Starts & API Documentation</span><br />
|
||||
<span class="topicTitle">CustomCreationConverter</span></div>
|
||||
|
||||
<div id="content">
|
||||
<span style="color: DarkGray"> </span>
|
||||
|
||||
<p>
|
||||
The CustomCreationConverter is a JsonConverter that provides a way to customize how an object is created
|
||||
during JSON deserialization.
|
||||
Once the object has been created it will then have values populated onto it by the serializer.
|
||||
</p>
|
||||
|
||||
<div class="overflowpanel"> <div class="code">
|
||||
<div style="font-family: Courier New; font-size: 10pt; color: black;">
|
||||
<pre style="margin: 0px;"><span style="color: blue;">public</span> <span style="color: blue;">interface</span> <span style="color: #2b91af;">IPerson</span></pre>
|
||||
<pre style="margin: 0px;">{</pre>
|
||||
@@ -48,14 +48,14 @@
|
||||
<pre style="margin: 0px;"> }</pre>
|
||||
<pre style="margin: 0px;">}</pre>
|
||||
</div>
|
||||
</div></div>
|
||||
|
||||
<p>
|
||||
This is an extremely simple example. A more complicated scenario could involve an object factory or service locator
|
||||
which resolves the object at runtime.
|
||||
</p>
|
||||
|
||||
<div class="overflowpanel"> <div class="code">
|
||||
</div></div>
|
||||
|
||||
<p>
|
||||
This is an extremely simple example. A more complicated scenario could involve an object factory or service locator
|
||||
which resolves the object at runtime.
|
||||
</p>
|
||||
|
||||
<div class="overflowpanel"> <div class="code">
|
||||
<div style="font-family: Courier New; font-size: 10pt; color: black;">
|
||||
<pre style="margin: 0px;"><span style="color: green;">//[</span></pre>
|
||||
<pre style="margin: 0px;"><span style="color: green;">// {</span></pre>
|
||||
@@ -89,11 +89,11 @@ This is an extremely simple example. A more complicated scenario could involve a
|
||||
<pre style="margin: 0px;"><span style="color: #2b91af;">Console</span>.WriteLine(employee.JobTitle);</pre>
|
||||
<pre style="margin: 0px;"><span style="color: green;">// Support</span></pre>
|
||||
</div>
|
||||
</div></div>
|
||||
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</div></div>
|
||||
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user