com.esri.arcgis.system
Interface IJSONObject2

All Superinterfaces:
IJSONObject, java.io.Serializable
All Known Implementing Classes:
IJSONObject2Proxy, JSONObject

public interface IJSONObject2
extends IJSONObject, java.io.Serializable

COM Interface 'IJSONObject2'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides simplified DOM-like JSON serialization and de-serialization API.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID2bbe5286_7c65_4fe4_9d51_c9f2a764dc10
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.system.IJSONObject
IIDeea70515_fa6b_4dee_ab79_d7935bf3a838
 
Method Summary
 void addInt64(java.lang.String name, long value)
          Adds new member name-value pair to the member collection.
 void addUInt64(java.lang.String name, long value)
          Adds new member name-value pair to the member collection.
 boolean tryGetValueAsInt64(java.lang.String name, long[] value)
          Returns member value for a given name as LONGLONG.
 boolean tryGetValueAsUInt64(java.lang.String name, long[] value)
          Returns member value for a given name as ULONGLONG.
 boolean tryGetValueAsVariant(java.lang.String name, int variantType, java.lang.Object[] value)
          Returns member valuefor a given name as a VARIANT of the requested type.
 
Methods inherited from interface com.esri.arcgis.system.IJSONObject
add, addBoolean, addDate, addDouble, addDoubleEx, addJSONArray, addJSONObject, addLong, addNull, addString, clearAll, createMemberArray, createMemberObject, getMemberAt, getMemberCount, isCaseSensitiveNames, isValueNull, makeValueNull, memberExists, parseJSON, parseString, removeMember, setCaseSensitiveNames, toJSON, toJSONString, tryGetValue, tryGetValueAsArray, tryGetValueAsBoolean, tryGetValueAsDate, tryGetValueAsDouble, tryGetValueAsLong, tryGetValueAsObject, tryGetValueAsString
 

Field Detail

IID2bbe5286_7c65_4fe4_9d51_c9f2a764dc10

static final int IID2bbe5286_7c65_4fe4_9d51_c9f2a764dc10
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

addInt64

void addInt64(java.lang.String name,
              long value)
              throws java.io.IOException,
                     AutomationException
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found.

Parameters:
name - The name (in)
value - Signed 64-bit int (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addUInt64

void addUInt64(java.lang.String name,
               long value)
               throws java.io.IOException,
                      AutomationException
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found.

Parameters:
name - The name (in)
value - Unsigned 64-bit int (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

tryGetValueAsInt64

boolean tryGetValueAsInt64(java.lang.String name,
                           long[] value)
                           throws java.io.IOException,
                                  AutomationException
Returns member value for a given name as LONGLONG. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter.

Parameters:
name - The name (in)
value - Signed 64-bit int (in)
Returns:
The success
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

tryGetValueAsUInt64

boolean tryGetValueAsUInt64(java.lang.String name,
                            long[] value)
                            throws java.io.IOException,
                                   AutomationException
Returns member value for a given name as ULONGLONG. If member does not exist or type coercion fails, returns VARIANT_FALSE in 'success' parameter.

Parameters:
name - The name (in)
value - Unsigned 64-bit int (in)
Returns:
The success
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

tryGetValueAsVariant

boolean tryGetValueAsVariant(java.lang.String name,
                             int variantType,
                             java.lang.Object[] value)
                             throws java.io.IOException,
                                    AutomationException
Returns member valuefor a given name as a VARIANT of the requested type. If member does not exist, returns VARIANT_FALSE in 'success' parameter.

Parameters:
name - The name (in)
variantType - The variantType (in)
value - A Variant (out: use single element array)
Returns:
The success
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.