IJSONReader3 Interface

Members

Name Description
Read-only property CurrentTokenType Obtains type of current token.
Method FindProperties Reads current object until one of property names matches. Case is ignored. Return value is an index of property name that matched, otherwise -1.
Method FindProperty Reads current object until property name matches or object ends. Case is ignored.
Method IsBoolean Indicates true if current token is a property value or array value of boolean type.
Method IsEndOfArray Indicates true if current token is ']'.
Method IsEndOfObject Indicates true if current token is '}'.
Method IsNull Indicates true if current token is a property value or array value and equals to null.
Method IsNumber Indicates true if current token is a property value or array value of numeric type.
Method IsStartOfArray Indicates true if current token is '['.
Method IsStartOfObject Indicates true if current token is '{'.
Method IsString Indicates true if current token is a property value or array value of type string.
Method ParseJSONString Parses JSON string into memory. Returns either IJSONObject or IJSONArray in a 'root' parameter. Doesn't change state of existing IJSONReader2 instance.
Method Read Reads next JSON token.
Method ReadFrom Specifies input stream.
Method ReadFromString Specifies input as string.
Method ReadPropertyName Obtains property name. Advances to the next token.
Method ReadValue Obtains array or property value as Variant. Advances to the next token.
Method ReadValueAsBoolean Obtains array or property value as boolean. Advances to the next token. If property value cannot be coerced to boolean, returns E_​FAIL.
Method ReadValueAsDate Obtains property or array value as date. Advances to the next token. If property value cannot be coerced to datetime, returns E_​FAIL.
Method ReadValueAsDouble Obtains property or array value as number. Advances to the next token. If property value cannot be coerced to double, returns E_​FAIL.
Method ReadValueAsInt64 Obtains property or array value as number. Advances to the next token. If property value cannot be coerced to long, returns E_​FAIL.
Method ReadValueAsLong Obtains property or array value as number. Advances to the next token. If property value cannot be coerced to long, returns E_​FAIL.
Method ReadValueAsString Obtains property or array value as string. Advances to the next token. If property value cannot be coerced to string, returns E_​FAIL.
Method ReadValueAsUInt64 Obtains property or array value as number. Advances to the next token. If property value cannot be coerced to long, returns E_​FAIL.
Method ReadValueEx Obtains array or property value as Variant along with precision if it is a double. Advances to the next token.
Method RemoveAllBookmarks Removes all bookmarks.
Method RemoveBookmark Moves the reader back to a token that has a bookmark with the given name.
Method ReturnToBookmark Moves the reader back to a token that has a bookmark with the given name.
Method SetBookmark Creates a bookmark on the current token and assigns it a name. Only works if you use ReadFromString(), otherwise returns E_​FAIL.
Method SkipUntilArrayEnds Skips the rest of the current object, including closing bracket.
Method SkipUntilObjectEnds Skips the rest of the current object, including closing bracket.
Read-only property Stream Obtains underlying stream.

IJSONReader3.ReadValueAsInt64 Method

Obtains property or array value as number. Advances to the next token. If property value cannot be coerced to long, returns E_FAIL.

Public Function ReadValueAsInt64 ( _
) As Long
public long ReadValueAsInt64 (
);

IJSONReader3.ReadValueAsUInt64 Method

Obtains property or array value as number. Advances to the next token. If property value cannot be coerced to long, returns E_FAIL.

Public Function ReadValueAsUInt64 ( _
) As Long
public ulong ReadValueAsUInt64 (
);

Inherited Interfaces

Interfaces Description
IJSONReader2
IJSONReader Provides access to Sequential JSON Reader.

Classes that implement IJSONReader3

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.