JsonValue class winrt Class
Implements the IJsonValue interface which represents a JSON value.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- JsonValue
- Implemented types
- Available extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ptr
↔ Pointer<
COMObject> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valueType → JsonValueType
-
no setteroverride
Methods
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
getArray(
) → JsonArray? -
override
-
getBoolean(
) → bool -
override
-
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
inherited
-
getNumber(
) → double -
override
-
getObject(
) → JsonObject? -
override
-
getRuntimeClassName(
Pointer< IntPtr> className) → int -
inherited
-
getString(
) → String -
override
-
getTrustLevel(
Pointer< Int32> trustLevel) → int -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
inherited
-
stringify(
) → String -
override
-
toInterface(
String iid) → Pointer< COMObject> -
Cast an existing COM object to a specified interface.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createBooleanValue(
bool input) → JsonValue? -
createNullValue(
) → JsonValue? -
createNumberValue(
double input) → JsonValue? -
createStringValue(
String input) → JsonValue? -
parse(
String input) → JsonValue? -
tryParse(
String input, JsonValue result) → bool