Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/Newtonsoft.Json.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamesNK <james@newtonking.com>2009-12-27 06:30:43 +0300
committerJamesNK <james@newtonking.com>2009-12-27 06:30:43 +0300
commit961945657ab9810dc19a40ac4d31045d27386137 (patch)
tree052c4b34789d3266c1cc513ce61f5d1de07b0a6c /Src/Newtonsoft.Json.Tests/TestObjects/PersonRaw.cs
parent9144bc6c80c648d950ff1f31b6ed3a0f257a63a2 (diff)
-Added JsonPrimitiveContract and JsonLinqContract
-Removed JsonRaw and replaced with JRaw -Fixed properties on existing derived values not being populated during deserialization
Diffstat (limited to 'Src/Newtonsoft.Json.Tests/TestObjects/PersonRaw.cs')
-rw-r--r--Src/Newtonsoft.Json.Tests/TestObjects/PersonRaw.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/Newtonsoft.Json.Tests/TestObjects/PersonRaw.cs b/Src/Newtonsoft.Json.Tests/TestObjects/PersonRaw.cs
index 2797fff..79f50f6 100644
--- a/Src/Newtonsoft.Json.Tests/TestObjects/PersonRaw.cs
+++ b/Src/Newtonsoft.Json.Tests/TestObjects/PersonRaw.cs
@@ -24,6 +24,7 @@
#endregion
using System;
+using Newtonsoft.Json.Linq;
namespace Newtonsoft.Json.Tests.TestObjects
{
@@ -32,7 +33,7 @@ namespace Newtonsoft.Json.Tests.TestObjects
private Guid _internalId;
private string _firstName;
private string _lastName;
- private JsonRaw _rawContent;
+ private JRaw _rawContent;
[JsonIgnore]
public Guid InternalId
@@ -48,7 +49,7 @@ namespace Newtonsoft.Json.Tests.TestObjects
set { _firstName = value; }
}
- public JsonRaw RawContent
+ public JRaw RawContent
{
get { return _rawContent; }
set { _rawContent = value; }