-api-id | -api-type |
---|---|
T:Windows.Data.Json.JsonValue |
winrt class |
Implements the IJsonValue interface which represents a JSON value.
A JsonValue object can represent the three primitive JSON value types of Boolean, Number and String, and can also represent the complex value types of Array and Object by providing ways to access them.
A JsonValue object has overloaded constructors to instantiate a new object from a JSON String, Number or Boolean value and a default constructor that instantiates a JsonValue object with a ValueType of NULL.
For an example of how these class methods are used to parse a number or string from a JSON string and convert it into a JsonValue object, see Using JavaScript Object Notation (JSON).
Using JavaScript Object Notation (JSON), ValueType, JSON sample (Windows 10)