-Improved documentation

This commit is contained in:
James Newton-King
2012-07-27 22:57:08 +12:00
parent 2097219ec9
commit 29f1ed9cd0
18 changed files with 173 additions and 46 deletions
@@ -64,7 +64,7 @@ namespace Newtonsoft.Json.Tests.Documentation
string json = array.ToString();
// [
// "Manual text",
// "\/Date(958996800000+1200)\/"
// "2000-05-23T00:00:00"
// ]
#endregion
}
@@ -173,7 +173,7 @@ namespace Newtonsoft.Json.Tests.Documentation
CPU: 'Intel',
Drives: [
'DVD read/writer',
""500 gigabyte hard drive""
'500 gigabyte hard drive'
]
}";
@@ -181,6 +181,19 @@ namespace Newtonsoft.Json.Tests.Documentation
#endregion
}
public void LinqToJsonCreateParseArray()
{
#region LinqToJsonCreateParseArray
string json = @"[
'Small',
'Medium',
'Large'
]";
JArray a = JArray.Parse(json);
#endregion
}
public void LinqToJsonQuerying()
{
JObject rss = new JObject();