Provides simplified DOM-like JSON serialization and de-serialization API.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
|
Name |
Description |
|
Add |
Adds new variant value to the array. |
|
AddBoolean |
Adds new boolean value to the array. |
|
AddDate |
Adds new DATE value to the array. |
|
AddDouble |
Adds new double value to the array. |
|
AddDoubleEx |
Adds new double value to the array. Stores precision for use in ToJSON and ToJSONString |
|
AddInt64 |
Adds new variant value to the array. |
|
AddJSONArray |
Adds new nested array to the array. |
|
AddJSONObject |
Adds new nested object to the array. |
|
AddLong |
Adds new long value to the array. |
|
AddNull |
Adds new null value to the array. |
|
AddString |
Adds new string value to the array. |
|
AddUInt64 |
Adds new variant value to the array. |
|
ClearAll |
Removes all values. |
|
Count |
Returns an array size. |
|
CreateMemberArray |
Creates and adds new member to the member collection. Returns E_FAIL if creation of the member fails. |
|
CreateMemberObject |
Creates and adds new member to the member collection. Returns E_FAIL if creation of the member fails. |
|
IsValueNull |
Checks if an array value at a given index is NULL. |
|
ParseJSON |
Parses JSON array from IJSONReader into memory. Useful if you want to have random acces to just a part of a JSON. |
|
ParseString |
Parses JSON array from string into memory. |
|
RemoveValue |
Remove a value from the member collection. |
|
ToJSON |
Converts IJSONArray to JSON representation using provided IJSONWriter. Useful when you have complex JSON response you want to combine from the output of several methods. |
|
ToJSONString |
Converts IJSONArray to JSON representation using IJSONWriter internally. 'props' parameter is to control IJSONWriter properties. It's safe to set it to NULL. |
|
TryGetValueAsArray |
Returns array value at a given index as IJSONArray. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
TryGetValueAsBoolean |
Returns array value at a given index as boolean. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
TryGetValueAsDate |
Returns array value at a given index as DATE. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
TryGetValueAsDouble |
Returns array value at a given index as double. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
TryGetValueAsInt64 |
Returns array value at a given index as LONGLONG. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
TryGetValueAsLong |
Returns array value at a given index as long. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
TryGetValueAsObject |
Returns array value at a given index as IJSONObject. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
TryGetValueAsString |
Returns array value at a given index as string. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
TryGetValueAsUInt64 |
Returns array value at a given index as ULONGLONG. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
TryGetValueAsVariant |
Returns array value at a given index as a VARIANT of the requested type. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
|
Value |
Returns an array value at a given index. Returns E_INVALIDARG if index is out of bounds. |
Inherited Interfaces
Interfaces |
Description |
IJSONArray |
Provides simplified DOM-like JSON serialization and de-serialization API. |
Classes that implement IJSONArray2
Classes |
Description |
JSONArray |
Simplified JSON API coclass |