![]() |
This document is archived and information here might be outdated. Recommended version. |
Provides simplified DOM-like JSON serialization and de-serialization API.
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 |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
Value | Returns an array value at a given index. Returns E_INVALIDARG if index is out of bounds. |
CoClasses and Classes | Description |
---|---|
JSONArray | Simplified JSON API coclass |