IJsonValue Members

IJsonValue has the following members.

Public Properties

  Name Description
ValueType Gets the type of the encapsulated JSON value. Possible types are defined by JsonValueType.

Public Methods

  Name Description
GetArray Returns a pointer to the array, if the ValueType of the encapsulated value is Array. If it is not, an exception is thrown.
GetBoolean Returns the Boolean value, if the ValueType of the encapsulated value is a Boolean. If it is not, an exception is thrown.
GetNumber Returns the number, if the ValueType of the encapsulated value is Number. If it is not, an exception is thrown.
GetObject Returns a pointer to the object, if the ValueType of the encapsulated value is Object. If it is not, an exception is thrown.
GetString Returns the string, if the ValueType of the encapsulated value is String. If it is not a string type, an exception is thrown.
Stringify Retrieves the JSON representation of the encapsulated value.

See also

Reference

IJsonValue Interface

Windows.Data.Json Namespace