~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/Newtonsoft.Json/Doc/SerializingJSONFragments.aml

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
Import upstream version 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<topic id="SerializingJSONFragments" revisionNumber="1">
 
3
  <developerConceptualDocument xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink">
 
4
 
 
5
    <introduction>
 
6
      <para>Often when working with large JSON documents you're only interested in a small
 
7
      fragment of information. This scenario can be annoying when you want to serialize
 
8
      that Json.NET into .NET objects because you have to define .NET classes for the
 
9
      entire JSON result.</para>
 
10
      <para>With Json.NET it is easy to get around this problem. Using LINQ to JSON you
 
11
      can extract the pieces of JSON you want to serialize before passing them to the
 
12
      Json.NET serializer.</para>
 
13
 
 
14
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="SerializingPartialJsonFragmentsObject" title="Fragments Object" />
 
15
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="SerializingPartialJsonFragmentsExample" title="Serializing Partial JSON Fragment Example" />
 
16
 
 
17
    </introduction>
 
18
    <relatedTopics>
 
19
      <codeEntityReference>T:Newtonsoft.Json.JsonReader</codeEntityReference>
 
20
      <codeEntityReference>T:Newtonsoft.Json.JsonWriter</codeEntityReference>
 
21
      <codeEntityReference>T:Newtonsoft.Json.Linq.JTokenReader</codeEntityReference>
 
22
      <codeEntityReference>T:Newtonsoft.Json.Linq.JTokenWriter</codeEntityReference>
 
23
      <codeEntityReference>T:Newtonsoft.Json.Bson.BsonReader</codeEntityReference>
 
24
      <codeEntityReference>T:Newtonsoft.Json.Bson.BsonWriter</codeEntityReference>
 
25
    </relatedTopics>
 
26
  </developerConceptualDocument>
 
27
</topic>
 
 
b'\\ No newline at end of file'