-Formatting

-Build
This commit is contained in:
James Newton-King
2015-12-04 23:54:38 +13:00
parent c96779dc10
commit eb0cbd6a75
334 changed files with 3952 additions and 514 deletions
@@ -722,7 +722,7 @@ keyword such as type of business.""
Post p = new Post
{
Title = "How to use FromObject",
Categories = new [] { "LINQ to JSON" }
Categories = new[] { "LINQ to JSON" }
};
// serialize Post to JSON then parse JSON – SLOW!
@@ -1110,8 +1110,8 @@ keyword such as type of business.""
}
]
}
}", o.ToString());
}", o.ToString());
CustomAssert.IsInstanceOfType(typeof(JObject), o);
CustomAssert.IsInstanceOfType(typeof(JObject), o["channel"]);
Assert.AreEqual("James Newton-King", (string)o["channel"]["title"]);