Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 694 Bytes

JValueValue.md

File metadata and controls

23 lines (18 loc) · 694 Bytes

Using JValue.Value

This sample gets Argon.JValue internal values using Argon.JValue.Value.

var s = new JValue("A string value");

Console.WriteLine(s.Value.GetType().Name);
// String
Console.WriteLine(s.Value);
// A string value

var u = new JValue(new Uri("http://www.google.com/"));

Console.WriteLine(u.Value.GetType().Name);
// Uri
Console.WriteLine(u.Value);
// http://www.google.com/

snippet source | anchor