Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.25 KB

jsonvalue.md

File metadata and controls

28 lines (17 loc) · 1.25 KB
-api-id -api-type
T:Windows.Data.Json.JsonValue
winrt class

Windows.Data.Json.JsonValue

-description

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.

-remarks

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).

-examples

-see-also

Using JavaScript Object Notation (JSON), ValueType, JSON sample (Windows 10)