|
Name |
Description |
![Method](bitmaps/Method.gif) |
Add |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddBoolean |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddDate |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddDouble |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddDoubleEx |
Adds new member name-value pair to the member collection. Stores precision for use in ToJSON and ToJSONString. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddInt64 |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddJSONArray |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddJSONObject |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddLong |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddNull |
Adds new member with the value of null to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddString |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
AddUInt64 |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Read/write property](bitmaps/ReadWrite.gif) |
CaseSensitiveNames |
Returns true if member name lookups are case-sensitive. Default value is true. Methods affected by this state change: MemberExists, IsValueNull and all TryGet... methods. |
![Method](bitmaps/Method.gif) |
ClearAll |
Removes all members. |
![Method](bitmaps/Method.gif) |
CreateMemberArray |
Creates and adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
CreateMemberObject |
Creates and adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found. |
![Method](bitmaps/Method.gif) |
GetMemberAt |
Returns member name and value at a given index. |
![Method](bitmaps/Method.gif) |
IsValueNull |
Returns VARIANT_TRUE if member is undefined or member's value is null. Returns VARIANT_FALSE if member exists and its value is not null. |
![Method](bitmaps/Method.gif) |
MakeValueNull |
Make a designated member NULL. |
![Read-only property](bitmaps/ReadOnly.gif) |
MemberCount |
Returns size of member collection. |
![Method](bitmaps/Method.gif) |
MemberExists |
Checks if a member with the given name exists. |
![Method](bitmaps/Method.gif) |
ParseJSON |
Parses JSON object from IJSONReader into memory. Useful if you want to have random access to just a part of a JSON. |
![Method](bitmaps/Method.gif) |
ParseString |
Parses JSON object from string into memory. |
![Method](bitmaps/Method.gif) |
RemoveMember |
Remove a member from the member collection. |
![Method](bitmaps/Method.gif) |
ToJSON |
Converts IJSONObject 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 IJSONObject 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) |
TryGetValue |
Returns member value for a given name. If member does not exist, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsArray |
Returns member value for a given name as IJSONArray. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsBoolean |
Returns member value for a given name as boolean. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsDate |
Returns member value for a given name as DATE. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsDouble |
Returns member value for a given name as double. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsInt64 |
Returns member value for a given name as LONGLONG. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsLong |
Returns member value for a given name as long. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsObject |
Returns member value for a given name as IJSONObject. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsString |
Returns member value for a given name as string. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsUInt64 |
Returns member value for a given name as ULONGLONG. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter. |
![Method](bitmaps/Method.gif) |
TryGetValueAsVariant |
Returns member valuefor a given name as a VARIANT of the requested type. If member does not exist, returns VARIANT_FALSE in 'success' parameter. |