-Examples!
This commit is contained in:
@@ -11,6 +11,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Examples.Linq
|
||||
{
|
||||
public void Example()
|
||||
{
|
||||
#region Usage
|
||||
JObject o = JObject.Parse(@"{'string1':'value','integer2':99,'datetime3':'2000-05-23T00:00:00'}");
|
||||
|
||||
Console.WriteLine(o.ToString());
|
||||
@@ -25,6 +26,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Examples.Linq
|
||||
|
||||
Console.WriteLine(o.ToString(Formatting.None, new JavaScriptDateTimeConverter()));
|
||||
// {"string1":"value","integer2":99,"datetime3":new Date(959032800000)}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user