Provides simplified DOM-like JSON serialization and de-serialization API.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
|
Name |
Description |
![Method](./bitmaps/Method.gif) |
Add |
Adds new variant value to the array. |
![Method](./bitmaps/Method.gif) |
AddBoolean |
Adds new boolean value to the array. |
![Method](./bitmaps/Method.gif) |
AddDate |
Adds new DATE value to the array. |
![Method](./bitmaps/Method.gif) |
AddDouble |
Adds new double value to the array. |
![Method](./bitmaps/Method.gif) |
AddDoubleEx |
Adds new double value to the array. Stores precision for use in ToJSON and ToJSONString |
![Method](./bitmaps/Method.gif) |
AddInt64 |
Adds new variant value to the array. |
![Method](./bitmaps/Method.gif) |
AddJSONArray |
Adds new nested array to the array. |
![Method](./bitmaps/Method.gif) |
AddJSONObject |
Adds new nested object to the array. |
![Method](./bitmaps/Method.gif) |
AddLong |
Adds new long value to the array. |
![Method](./bitmaps/Method.gif) |
AddNull |
Adds new null value to the array. |
![Method](./bitmaps/Method.gif) |
AddString |
Adds new string value to the array. |
![Method](./bitmaps/Method.gif) |
AddUInt64 |
Adds new variant value to the array. |
![Method](./bitmaps/Method.gif) |
ClearAll |
Removes all values. |
![Read-only property](./bitmaps/ReadOnly.gif) |
Count |
Returns an array size. |
![Method](./bitmaps/Method.gif) |
CreateMemberArray |
Creates and adds new member to the member collection. Returns E_FAIL if creation of the member fails. |
![Method](./bitmaps/Method.gif) |
CreateMemberObject |
Creates and adds new member to the member collection. Returns E_FAIL if creation of the member fails. |
![Method](./bitmaps/Method.gif) |
IsValueNull |
Checks if an array value at a given index is NULL. |
![Method](./bitmaps/Method.gif) |
ParseJSON |
Parses JSON array from IJSONReader into memory. Useful if you want to have random acces to just a part of a JSON. |
![Method](./bitmaps/Method.gif) |
ParseString |
Parses JSON array from string into memory. |
![Method](./bitmaps/Method.gif) |
RemoveValue |
Remove a value from the member collection. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
ToJSONString |
Converts IJSONArray to JSON representation using IJSONWriter internally. 'props' parameter is to control IJSONWriter properties. It's safe to set it to NULL. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
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. |
![Method](./bitmaps/Method.gif) |
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. |
![Read-only property](./bitmaps/ReadOnly.gif) |
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 |