Chilkat Online Tools

ExportComponents Ruby Example

Amplify UI Builder

require 'chilkat'

# This example requires the Chilkat API to have been previously unlocked.
# See Global Unlock Sample for sample code.

rest = Chilkat::CkRest.new()

authAws = Chilkat::CkAuthAws.new()
authAws.put_AccessKey("AWS_ACCESS_KEY")
authAws.put_SecretKey("AWS_SECRET_KEY")

# Don't forget to change the region to your particular region. (Also make the same change in the call to Connect below.)
authAws.put_Region("us-west-2")
authAws.put_ServiceName("amplifyuibuilder")
# SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
rest.SetAuthAws(authAws)

# URL: https://amplifyuibuilder.us-west-2.amazonaws.com/
# Use the same region as specified above.
success = rest.Connect("amplifyuibuilder.us-west-2.amazonaws.com",443,true,true)
if (success != true)
    print "ConnectFailReason: " + rest.get_ConnectFailReason().to_s() + "\n";
    print rest.lastErrorText() + "\n";
    exit
end

rest.AddHeader("Content-Type","application/x-amz-json-1.1")
rest.AddHeader("X-Amz-Target","ExportComponents")

sbResponseBody = Chilkat::CkStringBuilder.new()
success = rest.FullRequestNoBodySb("GET","/export/app/{appId}/environment/{environmentName}/components",sbResponseBody)
if (success != true)
    print rest.lastErrorText() + "\n";
    exit
end

respStatusCode = rest.get_ResponseStatusCode()
print "response status code = " + respStatusCode.to_s() + "\n";
if (respStatusCode != 200)
    print "Response Header:" + "\n";
    print rest.responseHeader() + "\n";
    print "Response Body:" + "\n";
    print sbResponseBody.getAsString() + "\n";
    exit
end

jResp = Chilkat::CkJsonObject.new()
jResp.LoadSb(sbResponseBody)

# The following code parses the JSON response.
# A sample JSON response is shown below the sample code.

# Use this online tool to generate parsing code from sample JSON:
# Generate Parsing Code from JSON

nextToken = jResp.stringOf("nextToken")
i = 0
count_i = jResp.SizeOfArray("entities")
while i < count_i
    jResp.put_I(i)
    appId = jResp.stringOf("entities[i].appId")
    Bucket = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.bucket")
    DefaultValue = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.defaultValue")
    Field = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.field")
    Key = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.key")
    Model = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.model")
    UserAttribute = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.userAttribute")
    StringDefaultValue = jResp.stringOf("entities[i].bindingProperties.string.defaultValue")
    v_Type = jResp.stringOf("entities[i].bindingProperties.string.type")
    StringModel = jResp.stringOf("entities[i].collectionProperties.string.model")
    PredicateField = jResp.stringOf("entities[i].collectionProperties.string.predicate.field")
    Operand = jResp.stringOf("entities[i].collectionProperties.string.predicate.operand")
    Operator = jResp.stringOf("entities[i].collectionProperties.string.predicate.operator")
    componentType = jResp.stringOf("entities[i].componentType")
    createdAt = jResp.IntOf("entities[i].createdAt")
    environmentName = jResp.stringOf("entities[i].environmentName")
    Action = jResp.stringOf("entities[i].events.string.action")
    BindingEvent = jResp.stringOf("entities[i].events.string.bindingEvent")
    BindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.anchor.bindingProperties.field")
    Property = jResp.stringOf("entities[i].events.string.parameters.anchor.bindingProperties.property")
    Element = jResp.stringOf("entities[i].events.string.parameters.anchor.bindings.string.element")
    StringProperty = jResp.stringOf("entities[i].events.string.parameters.anchor.bindings.string.property")
    CollectionBindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.anchor.collectionBindingProperties.field")
    CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.anchor.collectionBindingProperties.property")
    ComponentName = jResp.stringOf("entities[i].events.string.parameters.anchor.componentName")
    v_Else = jResp.stringOf("entities[i].events.string.parameters.anchor.condition.else")
    ConditionField = jResp.stringOf("entities[i].events.string.parameters.anchor.condition.field")
    ConditionOperand = jResp.stringOf("entities[i].events.string.parameters.anchor.condition.operand")
    OperandType = jResp.stringOf("entities[i].events.string.parameters.anchor.condition.operandType")
    ConditionOperator = jResp.stringOf("entities[i].events.string.parameters.anchor.condition.operator")
    ConditionProperty = jResp.stringOf("entities[i].events.string.parameters.anchor.condition.property")
    v_Then = jResp.stringOf("entities[i].events.string.parameters.anchor.condition.then")
    Configured = jResp.IntOf("entities[i].events.string.parameters.anchor.configured")
    AnchorDefaultValue = jResp.stringOf("entities[i].events.string.parameters.anchor.defaultValue")
    v_Event = jResp.stringOf("entities[i].events.string.parameters.anchor.event")
    ImportedValue = jResp.stringOf("entities[i].events.string.parameters.anchor.importedValue")
    AnchorModel = jResp.stringOf("entities[i].events.string.parameters.anchor.model")
    AnchorProperty = jResp.stringOf("entities[i].events.string.parameters.anchor.property")
    AnchorType = jResp.stringOf("entities[i].events.string.parameters.anchor.type")
    AnchorUserAttribute = jResp.stringOf("entities[i].events.string.parameters.anchor.userAttribute")
    Value = jResp.stringOf("entities[i].events.string.parameters.anchor.value")
    BindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.fields.string.bindingProperties.field")
    BindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.fields.string.bindingProperties.property")
    StringElement = jResp.stringOf("entities[i].events.string.parameters.fields.string.bindings.string.element")
    StringProperty = jResp.stringOf("entities[i].events.string.parameters.fields.string.bindings.string.property")
    CollectionBindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.fields.string.collectionBindingProperties.field")
    CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.fields.string.collectionBindingProperties.property")
    StringComponentName = jResp.stringOf("entities[i].events.string.parameters.fields.string.componentName")
    ConditionElse = jResp.stringOf("entities[i].events.string.parameters.fields.string.condition.else")
    ConditionField = jResp.stringOf("entities[i].events.string.parameters.fields.string.condition.field")
    ConditionOperand = jResp.stringOf("entities[i].events.string.parameters.fields.string.condition.operand")
    ConditionOperandType = jResp.stringOf("entities[i].events.string.parameters.fields.string.condition.operandType")
    ConditionOperator = jResp.stringOf("entities[i].events.string.parameters.fields.string.condition.operator")
    ConditionProperty = jResp.stringOf("entities[i].events.string.parameters.fields.string.condition.property")
    ConditionThen = jResp.stringOf("entities[i].events.string.parameters.fields.string.condition.then")
    StringConfigured = jResp.IntOf("entities[i].events.string.parameters.fields.string.configured")
    StringDefaultValue = jResp.stringOf("entities[i].events.string.parameters.fields.string.defaultValue")
    StringEvent = jResp.stringOf("entities[i].events.string.parameters.fields.string.event")
    StringImportedValue = jResp.stringOf("entities[i].events.string.parameters.fields.string.importedValue")
    StringModel = jResp.stringOf("entities[i].events.string.parameters.fields.string.model")
    StringProperty = jResp.stringOf("entities[i].events.string.parameters.fields.string.property")
    StringType = jResp.stringOf("entities[i].events.string.parameters.fields.string.type")
    StringUserAttribute = jResp.stringOf("entities[i].events.string.parameters.fields.string.userAttribute")
    StringValue = jResp.stringOf("entities[i].events.string.parameters.fields.string.value")
    BindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.global.bindingProperties.field")
    BindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.global.bindingProperties.property")
    StringElement = jResp.stringOf("entities[i].events.string.parameters.global.bindings.string.element")
    StringProperty = jResp.stringOf("entities[i].events.string.parameters.global.bindings.string.property")
    CollectionBindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.global.collectionBindingProperties.field")
    CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.global.collectionBindingProperties.property")
    GlobalComponentName = jResp.stringOf("entities[i].events.string.parameters.global.componentName")
    ConditionElse = jResp.stringOf("entities[i].events.string.parameters.global.condition.else")
    ConditionField = jResp.stringOf("entities[i].events.string.parameters.global.condition.field")
    ConditionOperand = jResp.stringOf("entities[i].events.string.parameters.global.condition.operand")
    ConditionOperandType = jResp.stringOf("entities[i].events.string.parameters.global.condition.operandType")
    ConditionOperator = jResp.stringOf("entities[i].events.string.parameters.global.condition.operator")
    ConditionProperty = jResp.stringOf("entities[i].events.string.parameters.global.condition.property")
    ConditionThen = jResp.stringOf("entities[i].events.string.parameters.global.condition.then")
    GlobalConfigured = jResp.IntOf("entities[i].events.string.parameters.global.configured")
    GlobalDefaultValue = jResp.stringOf("entities[i].events.string.parameters.global.defaultValue")
    GlobalEvent = jResp.stringOf("entities[i].events.string.parameters.global.event")
    GlobalImportedValue = jResp.stringOf("entities[i].events.string.parameters.global.importedValue")
    GlobalModel = jResp.stringOf("entities[i].events.string.parameters.global.model")
    GlobalProperty = jResp.stringOf("entities[i].events.string.parameters.global.property")
    GlobalType = jResp.stringOf("entities[i].events.string.parameters.global.type")
    GlobalUserAttribute = jResp.stringOf("entities[i].events.string.parameters.global.userAttribute")
    GlobalValue = jResp.stringOf("entities[i].events.string.parameters.global.value")
    BindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.id.bindingProperties.field")
    BindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.id.bindingProperties.property")
    StringElement = jResp.stringOf("entities[i].events.string.parameters.id.bindings.string.element")
    StringProperty = jResp.stringOf("entities[i].events.string.parameters.id.bindings.string.property")
    CollectionBindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.id.collectionBindingProperties.field")
    CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.id.collectionBindingProperties.property")
    IdComponentName = jResp.stringOf("entities[i].events.string.parameters.id.componentName")
    ConditionElse = jResp.stringOf("entities[i].events.string.parameters.id.condition.else")
    ConditionField = jResp.stringOf("entities[i].events.string.parameters.id.condition.field")
    ConditionOperand = jResp.stringOf("entities[i].events.string.parameters.id.condition.operand")
    ConditionOperandType = jResp.stringOf("entities[i].events.string.parameters.id.condition.operandType")
    ConditionOperator = jResp.stringOf("entities[i].events.string.parameters.id.condition.operator")
    ConditionProperty = jResp.stringOf("entities[i].events.string.parameters.id.condition.property")
    ConditionThen = jResp.stringOf("entities[i].events.string.parameters.id.condition.then")
    IdConfigured = jResp.IntOf("entities[i].events.string.parameters.id.configured")
    IdDefaultValue = jResp.stringOf("entities[i].events.string.parameters.id.defaultValue")
    IdEvent = jResp.stringOf("entities[i].events.string.parameters.id.event")
    IdImportedValue = jResp.stringOf("entities[i].events.string.parameters.id.importedValue")
    IdModel = jResp.stringOf("entities[i].events.string.parameters.id.model")
    IdProperty = jResp.stringOf("entities[i].events.string.parameters.id.property")
    IdType = jResp.stringOf("entities[i].events.string.parameters.id.type")
    IdUserAttribute = jResp.stringOf("entities[i].events.string.parameters.id.userAttribute")
    IdValue = jResp.stringOf("entities[i].events.string.parameters.id.value")
    ParametersModel = jResp.stringOf("entities[i].events.string.parameters.model")
    StateComponentName = jResp.stringOf("entities[i].events.string.parameters.state.componentName")
    StateProperty = jResp.stringOf("entities[i].events.string.parameters.state.property")
    BindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.state.set.bindingProperties.field")
    BindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.state.set.bindingProperties.property")
    StringElement = jResp.stringOf("entities[i].events.string.parameters.state.set.bindings.string.element")
    StringProperty = jResp.stringOf("entities[i].events.string.parameters.state.set.bindings.string.property")
    CollectionBindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.state.set.collectionBindingProperties.field")
    CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.state.set.collectionBindingProperties.property")
    SetComponentName = jResp.stringOf("entities[i].events.string.parameters.state.set.componentName")
    ConditionElse = jResp.stringOf("entities[i].events.string.parameters.state.set.condition.else")
    ConditionField = jResp.stringOf("entities[i].events.string.parameters.state.set.condition.field")
    ConditionOperand = jResp.stringOf("entities[i].events.string.parameters.state.set.condition.operand")
    ConditionOperandType = jResp.stringOf("entities[i].events.string.parameters.state.set.condition.operandType")
    ConditionOperator = jResp.stringOf("entities[i].events.string.parameters.state.set.condition.operator")
    ConditionProperty = jResp.stringOf("entities[i].events.string.parameters.state.set.condition.property")
    ConditionThen = jResp.stringOf("entities[i].events.string.parameters.state.set.condition.then")
    SetConfigured = jResp.IntOf("entities[i].events.string.parameters.state.set.configured")
    SetDefaultValue = jResp.stringOf("entities[i].events.string.parameters.state.set.defaultValue")
    SetEvent = jResp.stringOf("entities[i].events.string.parameters.state.set.event")
    SetImportedValue = jResp.stringOf("entities[i].events.string.parameters.state.set.importedValue")
    SetModel = jResp.stringOf("entities[i].events.string.parameters.state.set.model")
    SetProperty = jResp.stringOf("entities[i].events.string.parameters.state.set.property")
    SetType = jResp.stringOf("entities[i].events.string.parameters.state.set.type")
    SetUserAttribute = jResp.stringOf("entities[i].events.string.parameters.state.set.userAttribute")
    SetValue = jResp.stringOf("entities[i].events.string.parameters.state.set.value")
    BindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.target.bindingProperties.field")
    BindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.target.bindingProperties.property")
    StringElement = jResp.stringOf("entities[i].events.string.parameters.target.bindings.string.element")
    StringProperty = jResp.stringOf("entities[i].events.string.parameters.target.bindings.string.property")
    CollectionBindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.target.collectionBindingProperties.field")
    CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.target.collectionBindingProperties.property")
    TargetComponentName = jResp.stringOf("entities[i].events.string.parameters.target.componentName")
    ConditionElse = jResp.stringOf("entities[i].events.string.parameters.target.condition.else")
    ConditionField = jResp.stringOf("entities[i].events.string.parameters.target.condition.field")
    ConditionOperand = jResp.stringOf("entities[i].events.string.parameters.target.condition.operand")
    ConditionOperandType = jResp.stringOf("entities[i].events.string.parameters.target.condition.operandType")
    ConditionOperator = jResp.stringOf("entities[i].events.string.parameters.target.condition.operator")
    ConditionProperty = jResp.stringOf("entities[i].events.string.parameters.target.condition.property")
    ConditionThen = jResp.stringOf("entities[i].events.string.parameters.target.condition.then")
    TargetConfigured = jResp.IntOf("entities[i].events.string.parameters.target.configured")
    TargetDefaultValue = jResp.stringOf("entities[i].events.string.parameters.target.defaultValue")
    TargetEvent = jResp.stringOf("entities[i].events.string.parameters.target.event")
    TargetImportedValue = jResp.stringOf("entities[i].events.string.parameters.target.importedValue")
    TargetModel = jResp.stringOf("entities[i].events.string.parameters.target.model")
    TargetProperty = jResp.stringOf("entities[i].events.string.parameters.target.property")
    TargetType = jResp.stringOf("entities[i].events.string.parameters.target.type")
    TargetUserAttribute = jResp.stringOf("entities[i].events.string.parameters.target.userAttribute")
    TargetValue = jResp.stringOf("entities[i].events.string.parameters.target.value")
    BindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.type.bindingProperties.field")
    BindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.type.bindingProperties.property")
    StringElement = jResp.stringOf("entities[i].events.string.parameters.type.bindings.string.element")
    StringProperty = jResp.stringOf("entities[i].events.string.parameters.type.bindings.string.property")
    CollectionBindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.type.collectionBindingProperties.field")
    CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.type.collectionBindingProperties.property")
    TypeComponentName = jResp.stringOf("entities[i].events.string.parameters.type.componentName")
    ConditionElse = jResp.stringOf("entities[i].events.string.parameters.type.condition.else")
    ConditionField = jResp.stringOf("entities[i].events.string.parameters.type.condition.field")
    ConditionOperand = jResp.stringOf("entities[i].events.string.parameters.type.condition.operand")
    ConditionOperandType = jResp.stringOf("entities[i].events.string.parameters.type.condition.operandType")
    ConditionOperator = jResp.stringOf("entities[i].events.string.parameters.type.condition.operator")
    ConditionProperty = jResp.stringOf("entities[i].events.string.parameters.type.condition.property")
    ConditionThen = jResp.stringOf("entities[i].events.string.parameters.type.condition.then")
    TypeConfigured = jResp.IntOf("entities[i].events.string.parameters.type.configured")
    TypeDefaultValue = jResp.stringOf("entities[i].events.string.parameters.type.defaultValue")
    TypeEvent = jResp.stringOf("entities[i].events.string.parameters.type.event")
    TypeImportedValue = jResp.stringOf("entities[i].events.string.parameters.type.importedValue")
    TypeModel = jResp.stringOf("entities[i].events.string.parameters.type.model")
    TypeProperty = jResp.stringOf("entities[i].events.string.parameters.type.property")
    TypeType = jResp.stringOf("entities[i].events.string.parameters.type.type")
    TypeUserAttribute = jResp.stringOf("entities[i].events.string.parameters.type.userAttribute")
    TypeValue = jResp.stringOf("entities[i].events.string.parameters.type.value")
    BindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.url.bindingProperties.field")
    BindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.url.bindingProperties.property")
    StringElement = jResp.stringOf("entities[i].events.string.parameters.url.bindings.string.element")
    StringProperty = jResp.stringOf("entities[i].events.string.parameters.url.bindings.string.property")
    CollectionBindingPropertiesField = jResp.stringOf("entities[i].events.string.parameters.url.collectionBindingProperties.field")
    CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].events.string.parameters.url.collectionBindingProperties.property")
    UrlComponentName = jResp.stringOf("entities[i].events.string.parameters.url.componentName")
    ConditionElse = jResp.stringOf("entities[i].events.string.parameters.url.condition.else")
    ConditionField = jResp.stringOf("entities[i].events.string.parameters.url.condition.field")
    ConditionOperand = jResp.stringOf("entities[i].events.string.parameters.url.condition.operand")
    ConditionOperandType = jResp.stringOf("entities[i].events.string.parameters.url.condition.operandType")
    ConditionOperator = jResp.stringOf("entities[i].events.string.parameters.url.condition.operator")
    ConditionProperty = jResp.stringOf("entities[i].events.string.parameters.url.condition.property")
    ConditionThen = jResp.stringOf("entities[i].events.string.parameters.url.condition.then")
    UrlConfigured = jResp.IntOf("entities[i].events.string.parameters.url.configured")
    UrlDefaultValue = jResp.stringOf("entities[i].events.string.parameters.url.defaultValue")
    UrlEvent = jResp.stringOf("entities[i].events.string.parameters.url.event")
    UrlImportedValue = jResp.stringOf("entities[i].events.string.parameters.url.importedValue")
    UrlModel = jResp.stringOf("entities[i].events.string.parameters.url.model")
    UrlProperty = jResp.stringOf("entities[i].events.string.parameters.url.property")
    UrlType = jResp.stringOf("entities[i].events.string.parameters.url.type")
    UrlUserAttribute = jResp.stringOf("entities[i].events.string.parameters.url.userAttribute")
    UrlValue = jResp.stringOf("entities[i].events.string.parameters.url.value")
    id = jResp.stringOf("entities[i].id")
    modifiedAt = jResp.IntOf("entities[i].modifiedAt")
    name = jResp.stringOf("entities[i].name")
    v_String = jResp.stringOf("entities[i].overrides.string.string")
    BindingPropertiesField = jResp.stringOf("entities[i].properties.string.bindingProperties.field")
    BindingPropertiesProperty = jResp.stringOf("entities[i].properties.string.bindingProperties.property")
    StringElement = jResp.stringOf("entities[i].properties.string.bindings.string.element")
    StringProperty = jResp.stringOf("entities[i].properties.string.bindings.string.property")
    CollectionBindingPropertiesField = jResp.stringOf("entities[i].properties.string.collectionBindingProperties.field")
    CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].properties.string.collectionBindingProperties.property")
    StringComponentName = jResp.stringOf("entities[i].properties.string.componentName")
    ConditionElse = jResp.stringOf("entities[i].properties.string.condition.else")
    ConditionField = jResp.stringOf("entities[i].properties.string.condition.field")
    ConditionOperand = jResp.stringOf("entities[i].properties.string.condition.operand")
    ConditionOperandType = jResp.stringOf("entities[i].properties.string.condition.operandType")
    ConditionOperator = jResp.stringOf("entities[i].properties.string.condition.operator")
    ConditionProperty = jResp.stringOf("entities[i].properties.string.condition.property")
    ConditionThen = jResp.stringOf("entities[i].properties.string.condition.then")
    StringConfigured = jResp.IntOf("entities[i].properties.string.configured")
    StringDefaultValue = jResp.stringOf("entities[i].properties.string.defaultValue")
    StringEvent = jResp.stringOf("entities[i].properties.string.event")
    StringImportedValue = jResp.stringOf("entities[i].properties.string.importedValue")
    StringModel = jResp.stringOf("entities[i].properties.string.model")
    StringProperty = jResp.stringOf("entities[i].properties.string.property")
    StringType = jResp.stringOf("entities[i].properties.string.type")
    StringUserAttribute = jResp.stringOf("entities[i].properties.string.userAttribute")
    StringValue = jResp.stringOf("entities[i].properties.string.value")
    schemaVersion = jResp.stringOf("entities[i].schemaVersion")
    sourceId = jResp.stringOf("entities[i].sourceId")
    tagsString = jResp.stringOf("entities[i].tags.string")
    j = 0
    count_j = jResp.SizeOfArray("entities[i].bindingProperties.string.bindingProperties.predicates")
    while j < count_j
        jResp.put_J(j)
        field = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.predicates[j].field")
        operand = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.predicates[j].operand")
        operator = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.predicates[j].operator")
        k = 0
        count_k = jResp.SizeOfArray("entities[i].bindingProperties.string.bindingProperties.predicates[j].and")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.predicates[j].and[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].bindingProperties.string.bindingProperties.predicates[j].or")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].bindingProperties.string.bindingProperties.predicates[j].or[k]")
            k = k + 1
        end
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].children")
    while j < count_j
        jResp.put_J(j)
        componentType = jResp.stringOf("entities[i].children[j].componentType")
        StringAction = jResp.stringOf("entities[i].children[j].events.string.action")
        StringBindingEvent = jResp.stringOf("entities[i].children[j].events.string.bindingEvent")
        BindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.bindingProperties.field")
        BindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.bindingProperties.property")
        StringElement = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.bindings.string.element")
        StringProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.bindings.string.property")
        CollectionBindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.collectionBindingProperties.field")
        CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.collectionBindingProperties.property")
        AnchorComponentName = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.componentName")
        ConditionElse = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.condition.else")
        ConditionField = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.condition.field")
        ConditionOperand = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.condition.operand")
        ConditionOperandType = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.condition.operandType")
        ConditionOperator = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.condition.operator")
        ConditionProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.condition.property")
        ConditionThen = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.condition.then")
        AnchorConfigured = jResp.IntOf("entities[i].children[j].events.string.parameters.anchor.configured")
        AnchorDefaultValue = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.defaultValue")
        AnchorEvent = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.event")
        AnchorImportedValue = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.importedValue")
        AnchorModel = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.model")
        AnchorProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.property")
        AnchorType = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.type")
        AnchorUserAttribute = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.userAttribute")
        AnchorValue = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.value")
        BindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.bindingProperties.field")
        BindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.bindingProperties.property")
        StringElement = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.bindings.string.element")
        StringProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.bindings.string.property")
        CollectionBindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.collectionBindingProperties.field")
        CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.collectionBindingProperties.property")
        StringComponentName = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.componentName")
        ConditionElse = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.condition.else")
        ConditionField = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.condition.field")
        ConditionOperand = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.condition.operand")
        ConditionOperandType = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.condition.operandType")
        ConditionOperator = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.condition.operator")
        ConditionProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.condition.property")
        ConditionThen = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.condition.then")
        StringConfigured = jResp.IntOf("entities[i].children[j].events.string.parameters.fields.string.configured")
        StringDefaultValue = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.defaultValue")
        StringEvent = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.event")
        StringImportedValue = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.importedValue")
        StringModel = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.model")
        StringProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.property")
        StringType = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.type")
        StringUserAttribute = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.userAttribute")
        StringValue = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.value")
        BindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.global.bindingProperties.field")
        BindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.global.bindingProperties.property")
        StringElement = jResp.stringOf("entities[i].children[j].events.string.parameters.global.bindings.string.element")
        StringProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.global.bindings.string.property")
        CollectionBindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.global.collectionBindingProperties.field")
        CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.global.collectionBindingProperties.property")
        GlobalComponentName = jResp.stringOf("entities[i].children[j].events.string.parameters.global.componentName")
        ConditionElse = jResp.stringOf("entities[i].children[j].events.string.parameters.global.condition.else")
        ConditionField = jResp.stringOf("entities[i].children[j].events.string.parameters.global.condition.field")
        ConditionOperand = jResp.stringOf("entities[i].children[j].events.string.parameters.global.condition.operand")
        ConditionOperandType = jResp.stringOf("entities[i].children[j].events.string.parameters.global.condition.operandType")
        ConditionOperator = jResp.stringOf("entities[i].children[j].events.string.parameters.global.condition.operator")
        ConditionProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.global.condition.property")
        ConditionThen = jResp.stringOf("entities[i].children[j].events.string.parameters.global.condition.then")
        GlobalConfigured = jResp.IntOf("entities[i].children[j].events.string.parameters.global.configured")
        GlobalDefaultValue = jResp.stringOf("entities[i].children[j].events.string.parameters.global.defaultValue")
        GlobalEvent = jResp.stringOf("entities[i].children[j].events.string.parameters.global.event")
        GlobalImportedValue = jResp.stringOf("entities[i].children[j].events.string.parameters.global.importedValue")
        GlobalModel = jResp.stringOf("entities[i].children[j].events.string.parameters.global.model")
        GlobalProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.global.property")
        GlobalType = jResp.stringOf("entities[i].children[j].events.string.parameters.global.type")
        GlobalUserAttribute = jResp.stringOf("entities[i].children[j].events.string.parameters.global.userAttribute")
        GlobalValue = jResp.stringOf("entities[i].children[j].events.string.parameters.global.value")
        BindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.id.bindingProperties.field")
        BindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.id.bindingProperties.property")
        StringElement = jResp.stringOf("entities[i].children[j].events.string.parameters.id.bindings.string.element")
        StringProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.id.bindings.string.property")
        CollectionBindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.id.collectionBindingProperties.field")
        CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.id.collectionBindingProperties.property")
        IdComponentName = jResp.stringOf("entities[i].children[j].events.string.parameters.id.componentName")
        ConditionElse = jResp.stringOf("entities[i].children[j].events.string.parameters.id.condition.else")
        ConditionField = jResp.stringOf("entities[i].children[j].events.string.parameters.id.condition.field")
        ConditionOperand = jResp.stringOf("entities[i].children[j].events.string.parameters.id.condition.operand")
        ConditionOperandType = jResp.stringOf("entities[i].children[j].events.string.parameters.id.condition.operandType")
        ConditionOperator = jResp.stringOf("entities[i].children[j].events.string.parameters.id.condition.operator")
        ConditionProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.id.condition.property")
        ConditionThen = jResp.stringOf("entities[i].children[j].events.string.parameters.id.condition.then")
        IdConfigured = jResp.IntOf("entities[i].children[j].events.string.parameters.id.configured")
        IdDefaultValue = jResp.stringOf("entities[i].children[j].events.string.parameters.id.defaultValue")
        IdEvent = jResp.stringOf("entities[i].children[j].events.string.parameters.id.event")
        IdImportedValue = jResp.stringOf("entities[i].children[j].events.string.parameters.id.importedValue")
        IdModel = jResp.stringOf("entities[i].children[j].events.string.parameters.id.model")
        IdProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.id.property")
        IdType = jResp.stringOf("entities[i].children[j].events.string.parameters.id.type")
        IdUserAttribute = jResp.stringOf("entities[i].children[j].events.string.parameters.id.userAttribute")
        IdValue = jResp.stringOf("entities[i].children[j].events.string.parameters.id.value")
        ParametersModel = jResp.stringOf("entities[i].children[j].events.string.parameters.model")
        StateComponentName = jResp.stringOf("entities[i].children[j].events.string.parameters.state.componentName")
        StateProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.state.property")
        BindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.bindingProperties.field")
        BindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.bindingProperties.property")
        StringElement = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.bindings.string.element")
        StringProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.bindings.string.property")
        CollectionBindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.collectionBindingProperties.field")
        CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.collectionBindingProperties.property")
        SetComponentName = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.componentName")
        ConditionElse = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.condition.else")
        ConditionField = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.condition.field")
        ConditionOperand = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.condition.operand")
        ConditionOperandType = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.condition.operandType")
        ConditionOperator = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.condition.operator")
        ConditionProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.condition.property")
        ConditionThen = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.condition.then")
        SetConfigured = jResp.IntOf("entities[i].children[j].events.string.parameters.state.set.configured")
        SetDefaultValue = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.defaultValue")
        SetEvent = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.event")
        SetImportedValue = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.importedValue")
        SetModel = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.model")
        SetProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.property")
        SetType = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.type")
        SetUserAttribute = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.userAttribute")
        SetValue = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.value")
        BindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.target.bindingProperties.field")
        BindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.target.bindingProperties.property")
        StringElement = jResp.stringOf("entities[i].children[j].events.string.parameters.target.bindings.string.element")
        StringProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.target.bindings.string.property")
        CollectionBindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.target.collectionBindingProperties.field")
        CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.target.collectionBindingProperties.property")
        TargetComponentName = jResp.stringOf("entities[i].children[j].events.string.parameters.target.componentName")
        ConditionElse = jResp.stringOf("entities[i].children[j].events.string.parameters.target.condition.else")
        ConditionField = jResp.stringOf("entities[i].children[j].events.string.parameters.target.condition.field")
        ConditionOperand = jResp.stringOf("entities[i].children[j].events.string.parameters.target.condition.operand")
        ConditionOperandType = jResp.stringOf("entities[i].children[j].events.string.parameters.target.condition.operandType")
        ConditionOperator = jResp.stringOf("entities[i].children[j].events.string.parameters.target.condition.operator")
        ConditionProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.target.condition.property")
        ConditionThen = jResp.stringOf("entities[i].children[j].events.string.parameters.target.condition.then")
        TargetConfigured = jResp.IntOf("entities[i].children[j].events.string.parameters.target.configured")
        TargetDefaultValue = jResp.stringOf("entities[i].children[j].events.string.parameters.target.defaultValue")
        TargetEvent = jResp.stringOf("entities[i].children[j].events.string.parameters.target.event")
        TargetImportedValue = jResp.stringOf("entities[i].children[j].events.string.parameters.target.importedValue")
        TargetModel = jResp.stringOf("entities[i].children[j].events.string.parameters.target.model")
        TargetProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.target.property")
        TargetType = jResp.stringOf("entities[i].children[j].events.string.parameters.target.type")
        TargetUserAttribute = jResp.stringOf("entities[i].children[j].events.string.parameters.target.userAttribute")
        TargetValue = jResp.stringOf("entities[i].children[j].events.string.parameters.target.value")
        BindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.type.bindingProperties.field")
        BindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.type.bindingProperties.property")
        StringElement = jResp.stringOf("entities[i].children[j].events.string.parameters.type.bindings.string.element")
        StringProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.type.bindings.string.property")
        CollectionBindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.type.collectionBindingProperties.field")
        CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.type.collectionBindingProperties.property")
        TypeComponentName = jResp.stringOf("entities[i].children[j].events.string.parameters.type.componentName")
        ConditionElse = jResp.stringOf("entities[i].children[j].events.string.parameters.type.condition.else")
        ConditionField = jResp.stringOf("entities[i].children[j].events.string.parameters.type.condition.field")
        ConditionOperand = jResp.stringOf("entities[i].children[j].events.string.parameters.type.condition.operand")
        ConditionOperandType = jResp.stringOf("entities[i].children[j].events.string.parameters.type.condition.operandType")
        ConditionOperator = jResp.stringOf("entities[i].children[j].events.string.parameters.type.condition.operator")
        ConditionProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.type.condition.property")
        ConditionThen = jResp.stringOf("entities[i].children[j].events.string.parameters.type.condition.then")
        TypeConfigured = jResp.IntOf("entities[i].children[j].events.string.parameters.type.configured")
        TypeDefaultValue = jResp.stringOf("entities[i].children[j].events.string.parameters.type.defaultValue")
        TypeEvent = jResp.stringOf("entities[i].children[j].events.string.parameters.type.event")
        TypeImportedValue = jResp.stringOf("entities[i].children[j].events.string.parameters.type.importedValue")
        TypeModel = jResp.stringOf("entities[i].children[j].events.string.parameters.type.model")
        TypeProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.type.property")
        TypeType = jResp.stringOf("entities[i].children[j].events.string.parameters.type.type")
        TypeUserAttribute = jResp.stringOf("entities[i].children[j].events.string.parameters.type.userAttribute")
        TypeValue = jResp.stringOf("entities[i].children[j].events.string.parameters.type.value")
        BindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.url.bindingProperties.field")
        BindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.url.bindingProperties.property")
        StringElement = jResp.stringOf("entities[i].children[j].events.string.parameters.url.bindings.string.element")
        StringProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.url.bindings.string.property")
        CollectionBindingPropertiesField = jResp.stringOf("entities[i].children[j].events.string.parameters.url.collectionBindingProperties.field")
        CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.url.collectionBindingProperties.property")
        UrlComponentName = jResp.stringOf("entities[i].children[j].events.string.parameters.url.componentName")
        ConditionElse = jResp.stringOf("entities[i].children[j].events.string.parameters.url.condition.else")
        ConditionField = jResp.stringOf("entities[i].children[j].events.string.parameters.url.condition.field")
        ConditionOperand = jResp.stringOf("entities[i].children[j].events.string.parameters.url.condition.operand")
        ConditionOperandType = jResp.stringOf("entities[i].children[j].events.string.parameters.url.condition.operandType")
        ConditionOperator = jResp.stringOf("entities[i].children[j].events.string.parameters.url.condition.operator")
        ConditionProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.url.condition.property")
        ConditionThen = jResp.stringOf("entities[i].children[j].events.string.parameters.url.condition.then")
        UrlConfigured = jResp.IntOf("entities[i].children[j].events.string.parameters.url.configured")
        UrlDefaultValue = jResp.stringOf("entities[i].children[j].events.string.parameters.url.defaultValue")
        UrlEvent = jResp.stringOf("entities[i].children[j].events.string.parameters.url.event")
        UrlImportedValue = jResp.stringOf("entities[i].children[j].events.string.parameters.url.importedValue")
        UrlModel = jResp.stringOf("entities[i].children[j].events.string.parameters.url.model")
        UrlProperty = jResp.stringOf("entities[i].children[j].events.string.parameters.url.property")
        UrlType = jResp.stringOf("entities[i].children[j].events.string.parameters.url.type")
        UrlUserAttribute = jResp.stringOf("entities[i].children[j].events.string.parameters.url.userAttribute")
        UrlValue = jResp.stringOf("entities[i].children[j].events.string.parameters.url.value")
        name = jResp.stringOf("entities[i].children[j].name")
        BindingPropertiesField = jResp.stringOf("entities[i].children[j].properties.string.bindingProperties.field")
        BindingPropertiesProperty = jResp.stringOf("entities[i].children[j].properties.string.bindingProperties.property")
        StringElement = jResp.stringOf("entities[i].children[j].properties.string.bindings.string.element")
        StringProperty = jResp.stringOf("entities[i].children[j].properties.string.bindings.string.property")
        CollectionBindingPropertiesField = jResp.stringOf("entities[i].children[j].properties.string.collectionBindingProperties.field")
        CollectionBindingPropertiesProperty = jResp.stringOf("entities[i].children[j].properties.string.collectionBindingProperties.property")
        StringComponentName = jResp.stringOf("entities[i].children[j].properties.string.componentName")
        ConditionElse = jResp.stringOf("entities[i].children[j].properties.string.condition.else")
        ConditionField = jResp.stringOf("entities[i].children[j].properties.string.condition.field")
        ConditionOperand = jResp.stringOf("entities[i].children[j].properties.string.condition.operand")
        ConditionOperandType = jResp.stringOf("entities[i].children[j].properties.string.condition.operandType")
        ConditionOperator = jResp.stringOf("entities[i].children[j].properties.string.condition.operator")
        ConditionProperty = jResp.stringOf("entities[i].children[j].properties.string.condition.property")
        ConditionThen = jResp.stringOf("entities[i].children[j].properties.string.condition.then")
        StringConfigured = jResp.IntOf("entities[i].children[j].properties.string.configured")
        StringDefaultValue = jResp.stringOf("entities[i].children[j].properties.string.defaultValue")
        StringEvent = jResp.stringOf("entities[i].children[j].properties.string.event")
        StringImportedValue = jResp.stringOf("entities[i].children[j].properties.string.importedValue")
        StringModel = jResp.stringOf("entities[i].children[j].properties.string.model")
        StringProperty = jResp.stringOf("entities[i].children[j].properties.string.property")
        StringType = jResp.stringOf("entities[i].children[j].properties.string.type")
        StringUserAttribute = jResp.stringOf("entities[i].children[j].properties.string.userAttribute")
        StringValue = jResp.stringOf("entities[i].children[j].properties.string.value")
        sourceId = jResp.stringOf("entities[i].children[j].sourceId")
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].children")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].children[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].events.string.parameters.anchor.concat")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].events.string.parameters.anchor.concat[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].events.string.parameters.fields.string.concat")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].events.string.parameters.fields.string.concat[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].events.string.parameters.global.concat")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].events.string.parameters.global.concat[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].events.string.parameters.id.concat")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].events.string.parameters.id.concat[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].events.string.parameters.state.set.concat")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].events.string.parameters.state.set.concat[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].events.string.parameters.target.concat")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].events.string.parameters.target.concat[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].events.string.parameters.type.concat")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].events.string.parameters.type.concat[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].events.string.parameters.url.concat")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].events.string.parameters.url.concat[k]")
            k = k + 1
        end
        k = 0
        count_k = jResp.SizeOfArray("entities[i].children[j].properties.string.concat")
        while k < count_k
            jResp.put_K(k)
            strVal = jResp.stringOf("entities[i].children[j].properties.string.concat[k]")
            k = k + 1
        end
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].collectionProperties.string.identifiers")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].collectionProperties.string.identifiers[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].collectionProperties.string.predicate.and")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].collectionProperties.string.predicate.and[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].collectionProperties.string.predicate.or")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].collectionProperties.string.predicate.or[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].collectionProperties.string.sort")
    while j < count_j
        jResp.put_J(j)
        direction = jResp.stringOf("entities[i].collectionProperties.string.sort[j].direction")
        field = jResp.stringOf("entities[i].collectionProperties.string.sort[j].field")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].events.string.parameters.anchor.concat")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].events.string.parameters.anchor.concat[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].events.string.parameters.fields.string.concat")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].events.string.parameters.fields.string.concat[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].events.string.parameters.global.concat")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].events.string.parameters.global.concat[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].events.string.parameters.id.concat")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].events.string.parameters.id.concat[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].events.string.parameters.state.set.concat")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].events.string.parameters.state.set.concat[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].events.string.parameters.target.concat")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].events.string.parameters.target.concat[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].events.string.parameters.type.concat")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].events.string.parameters.type.concat[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].events.string.parameters.url.concat")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].events.string.parameters.url.concat[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].properties.string.concat")
    while j < count_j
        jResp.put_J(j)
        strVal = jResp.stringOf("entities[i].properties.string.concat[j]")
        j = j + 1
    end
    j = 0
    count_j = jResp.SizeOfArray("entities[i].variants")
    while j < count_j
        jResp.put_J(j)
        StringString = jResp.stringOf("entities[i].variants[j].overrides.string.string")
        variantValuesString = jResp.stringOf("entities[i].variants[j].variantValues.string")
        j = j + 1
    end
    i = i + 1
end

# A sample JSON response body parsed by the above code:

# {
#   "entities": [
#     {
#       "appId": "string",
#       "bindingProperties": {
#         "string": {
#           "bindingProperties": {
#             "bucket": "string",
#             "defaultValue": "string",
#             "field": "string",
#             "key": "string",
#             "model": "string",
#             "predicates": [
#               {
#                 "and": [
#                   "Predicate"
#                 ],
#                 "field": "string",
#                 "operand": "string",
#                 "operator": "string",
#                 "or": [
#                   "Predicate"
#                 ]
#               }
#             ],
#             "userAttribute": "string"
#           },
#           "defaultValue": "string",
#           "type": "string"
#         }
#       },
#       "children": [
#         {
#           "children": [
#             "ComponentChild"
#           ],
#           "componentType": "string",
#           "events": {
#             "string": {
#               "action": "string",
#               "bindingEvent": "string",
#               "parameters": {
#                 "anchor": {
#                   "bindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "bindings": {
#                     "string": {
#                       "element": "string",
#                       "property": "string"
#                     }
#                   },
#                   "collectionBindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "componentName": "string",
#                   "concat": [
#                     "ComponentProperty"
#                   ],
#                   "condition": {
#                     "else": "ComponentProperty",
#                     "field": "string",
#                     "operand": "string",
#                     "operandType": "string",
#                     "operator": "string",
#                     "property": "string",
#                     "then": "ComponentProperty"
#                   },
#                   "configured": boolean,
#                   "defaultValue": "string",
#                   "event": "string",
#                   "importedValue": "string",
#                   "model": "string",
#                   "property": "string",
#                   "type": "string",
#                   "userAttribute": "string",
#                   "value": "string"
#                 },
#                 "fields": {
#                   "string": {
#                     "bindingProperties": {
#                       "field": "string",
#                       "property": "string"
#                     },
#                     "bindings": {
#                       "string": {
#                         "element": "string",
#                         "property": "string"
#                       }
#                     },
#                     "collectionBindingProperties": {
#                       "field": "string",
#                       "property": "string"
#                     },
#                     "componentName": "string",
#                     "concat": [
#                       "ComponentProperty"
#                     ],
#                     "condition": {
#                       "else": "ComponentProperty",
#                       "field": "string",
#                       "operand": "string",
#                       "operandType": "string",
#                       "operator": "string",
#                       "property": "string",
#                       "then": "ComponentProperty"
#                     },
#                     "configured": boolean,
#                     "defaultValue": "string",
#                     "event": "string",
#                     "importedValue": "string",
#                     "model": "string",
#                     "property": "string",
#                     "type": "string",
#                     "userAttribute": "string",
#                     "value": "string"
#                   }
#                 },
#                 "global": {
#                   "bindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "bindings": {
#                     "string": {
#                       "element": "string",
#                       "property": "string"
#                     }
#                   },
#                   "collectionBindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "componentName": "string",
#                   "concat": [
#                     "ComponentProperty"
#                   ],
#                   "condition": {
#                     "else": "ComponentProperty",
#                     "field": "string",
#                     "operand": "string",
#                     "operandType": "string",
#                     "operator": "string",
#                     "property": "string",
#                     "then": "ComponentProperty"
#                   },
#                   "configured": boolean,
#                   "defaultValue": "string",
#                   "event": "string",
#                   "importedValue": "string",
#                   "model": "string",
#                   "property": "string",
#                   "type": "string",
#                   "userAttribute": "string",
#                   "value": "string"
#                 },
#                 "id": {
#                   "bindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "bindings": {
#                     "string": {
#                       "element": "string",
#                       "property": "string"
#                     }
#                   },
#                   "collectionBindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "componentName": "string",
#                   "concat": [
#                     "ComponentProperty"
#                   ],
#                   "condition": {
#                     "else": "ComponentProperty",
#                     "field": "string",
#                     "operand": "string",
#                     "operandType": "string",
#                     "operator": "string",
#                     "property": "string",
#                     "then": "ComponentProperty"
#                   },
#                   "configured": boolean,
#                   "defaultValue": "string",
#                   "event": "string",
#                   "importedValue": "string",
#                   "model": "string",
#                   "property": "string",
#                   "type": "string",
#                   "userAttribute": "string",
#                   "value": "string"
#                 },
#                 "model": "string",
#                 "state": {
#                   "componentName": "string",
#                   "property": "string",
#                   "set": {
#                     "bindingProperties": {
#                       "field": "string",
#                       "property": "string"
#                     },
#                     "bindings": {
#                       "string": {
#                         "element": "string",
#                         "property": "string"
#                       }
#                     },
#                     "collectionBindingProperties": {
#                       "field": "string",
#                       "property": "string"
#                     },
#                     "componentName": "string",
#                     "concat": [
#                       "ComponentProperty"
#                     ],
#                     "condition": {
#                       "else": "ComponentProperty",
#                       "field": "string",
#                       "operand": "string",
#                       "operandType": "string",
#                       "operator": "string",
#                       "property": "string",
#                       "then": "ComponentProperty"
#                     },
#                     "configured": boolean,
#                     "defaultValue": "string",
#                     "event": "string",
#                     "importedValue": "string",
#                     "model": "string",
#                     "property": "string",
#                     "type": "string",
#                     "userAttribute": "string",
#                     "value": "string"
#                   }
#                 },
#                 "target": {
#                   "bindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "bindings": {
#                     "string": {
#                       "element": "string",
#                       "property": "string"
#                     }
#                   },
#                   "collectionBindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "componentName": "string",
#                   "concat": [
#                     "ComponentProperty"
#                   ],
#                   "condition": {
#                     "else": "ComponentProperty",
#                     "field": "string",
#                     "operand": "string",
#                     "operandType": "string",
#                     "operator": "string",
#                     "property": "string",
#                     "then": "ComponentProperty"
#                   },
#                   "configured": boolean,
#                   "defaultValue": "string",
#                   "event": "string",
#                   "importedValue": "string",
#                   "model": "string",
#                   "property": "string",
#                   "type": "string",
#                   "userAttribute": "string",
#                   "value": "string"
#                 },
#                 "type": {
#                   "bindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "bindings": {
#                     "string": {
#                       "element": "string",
#                       "property": "string"
#                     }
#                   },
#                   "collectionBindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "componentName": "string",
#                   "concat": [
#                     "ComponentProperty"
#                   ],
#                   "condition": {
#                     "else": "ComponentProperty",
#                     "field": "string",
#                     "operand": "string",
#                     "operandType": "string",
#                     "operator": "string",
#                     "property": "string",
#                     "then": "ComponentProperty"
#                   },
#                   "configured": boolean,
#                   "defaultValue": "string",
#                   "event": "string",
#                   "importedValue": "string",
#                   "model": "string",
#                   "property": "string",
#                   "type": "string",
#                   "userAttribute": "string",
#                   "value": "string"
#                 },
#                 "url": {
#                   "bindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "bindings": {
#                     "string": {
#                       "element": "string",
#                       "property": "string"
#                     }
#                   },
#                   "collectionBindingProperties": {
#                     "field": "string",
#                     "property": "string"
#                   },
#                   "componentName": "string",
#                   "concat": [
#                     "ComponentProperty"
#                   ],
#                   "condition": {
#                     "else": "ComponentProperty",
#                     "field": "string",
#                     "operand": "string",
#                     "operandType": "string",
#                     "operator": "string",
#                     "property": "string",
#                     "then": "ComponentProperty"
#                   },
#                   "configured": boolean,
#                   "defaultValue": "string",
#                   "event": "string",
#                   "importedValue": "string",
#                   "model": "string",
#                   "property": "string",
#                   "type": "string",
#                   "userAttribute": "string",
#                   "value": "string"
#                 }
#               }
#             }
#           },
#           "name": "string",
#           "properties": {
#             "string": {
#               "bindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "bindings": {
#                 "string": {
#                   "element": "string",
#                   "property": "string"
#                 }
#               },
#               "collectionBindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "componentName": "string",
#               "concat": [
#                 "ComponentProperty"
#               ],
#               "condition": {
#                 "else": "ComponentProperty",
#                 "field": "string",
#                 "operand": "string",
#                 "operandType": "string",
#                 "operator": "string",
#                 "property": "string",
#                 "then": "ComponentProperty"
#               },
#               "configured": boolean,
#               "defaultValue": "string",
#               "event": "string",
#               "importedValue": "string",
#               "model": "string",
#               "property": "string",
#               "type": "string",
#               "userAttribute": "string",
#               "value": "string"
#             }
#           },
#           "sourceId": "string"
#         }
#       ],
#       "collectionProperties": {
#         "string": {
#           "identifiers": [
#             "string"
#           ],
#           "model": "string",
#           "predicate": {
#             "and": [
#               "Predicate"
#             ],
#             "field": "string",
#             "operand": "string",
#             "operator": "string",
#             "or": [
#               "Predicate"
#             ]
#           },
#           "sort": [
#             {
#               "direction": "string",
#               "field": "string"
#             }
#           ]
#         }
#       },
#       "componentType": "string",
#       "createdAt": number,
#       "environmentName": "string",
#       "events": {
#         "string": {
#           "action": "string",
#           "bindingEvent": "string",
#           "parameters": {
#             "anchor": {
#               "bindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "bindings": {
#                 "string": {
#                   "element": "string",
#                   "property": "string"
#                 }
#               },
#               "collectionBindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "componentName": "string",
#               "concat": [
#                 "ComponentProperty"
#               ],
#               "condition": {
#                 "else": "ComponentProperty",
#                 "field": "string",
#                 "operand": "string",
#                 "operandType": "string",
#                 "operator": "string",
#                 "property": "string",
#                 "then": "ComponentProperty"
#               },
#               "configured": boolean,
#               "defaultValue": "string",
#               "event": "string",
#               "importedValue": "string",
#               "model": "string",
#               "property": "string",
#               "type": "string",
#               "userAttribute": "string",
#               "value": "string"
#             },
#             "fields": {
#               "string": {
#                 "bindingProperties": {
#                   "field": "string",
#                   "property": "string"
#                 },
#                 "bindings": {
#                   "string": {
#                     "element": "string",
#                     "property": "string"
#                   }
#                 },
#                 "collectionBindingProperties": {
#                   "field": "string",
#                   "property": "string"
#                 },
#                 "componentName": "string",
#                 "concat": [
#                   "ComponentProperty"
#                 ],
#                 "condition": {
#                   "else": "ComponentProperty",
#                   "field": "string",
#                   "operand": "string",
#                   "operandType": "string",
#                   "operator": "string",
#                   "property": "string",
#                   "then": "ComponentProperty"
#                 },
#                 "configured": boolean,
#                 "defaultValue": "string",
#                 "event": "string",
#                 "importedValue": "string",
#                 "model": "string",
#                 "property": "string",
#                 "type": "string",
#                 "userAttribute": "string",
#                 "value": "string"
#               }
#             },
#             "global": {
#               "bindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "bindings": {
#                 "string": {
#                   "element": "string",
#                   "property": "string"
#                 }
#               },
#               "collectionBindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "componentName": "string",
#               "concat": [
#                 "ComponentProperty"
#               ],
#               "condition": {
#                 "else": "ComponentProperty",
#                 "field": "string",
#                 "operand": "string",
#                 "operandType": "string",
#                 "operator": "string",
#                 "property": "string",
#                 "then": "ComponentProperty"
#               },
#               "configured": boolean,
#               "defaultValue": "string",
#               "event": "string",
#               "importedValue": "string",
#               "model": "string",
#               "property": "string",
#               "type": "string",
#               "userAttribute": "string",
#               "value": "string"
#             },
#             "id": {
#               "bindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "bindings": {
#                 "string": {
#                   "element": "string",
#                   "property": "string"
#                 }
#               },
#               "collectionBindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "componentName": "string",
#               "concat": [
#                 "ComponentProperty"
#               ],
#               "condition": {
#                 "else": "ComponentProperty",
#                 "field": "string",
#                 "operand": "string",
#                 "operandType": "string",
#                 "operator": "string",
#                 "property": "string",
#                 "then": "ComponentProperty"
#               },
#               "configured": boolean,
#               "defaultValue": "string",
#               "event": "string",
#               "importedValue": "string",
#               "model": "string",
#               "property": "string",
#               "type": "string",
#               "userAttribute": "string",
#               "value": "string"
#             },
#             "model": "string",
#             "state": {
#               "componentName": "string",
#               "property": "string",
#               "set": {
#                 "bindingProperties": {
#                   "field": "string",
#                   "property": "string"
#                 },
#                 "bindings": {
#                   "string": {
#                     "element": "string",
#                     "property": "string"
#                   }
#                 },
#                 "collectionBindingProperties": {
#                   "field": "string",
#                   "property": "string"
#                 },
#                 "componentName": "string",
#                 "concat": [
#                   "ComponentProperty"
#                 ],
#                 "condition": {
#                   "else": "ComponentProperty",
#                   "field": "string",
#                   "operand": "string",
#                   "operandType": "string",
#                   "operator": "string",
#                   "property": "string",
#                   "then": "ComponentProperty"
#                 },
#                 "configured": boolean,
#                 "defaultValue": "string",
#                 "event": "string",
#                 "importedValue": "string",
#                 "model": "string",
#                 "property": "string",
#                 "type": "string",
#                 "userAttribute": "string",
#                 "value": "string"
#               }
#             },
#             "target": {
#               "bindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "bindings": {
#                 "string": {
#                   "element": "string",
#                   "property": "string"
#                 }
#               },
#               "collectionBindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "componentName": "string",
#               "concat": [
#                 "ComponentProperty"
#               ],
#               "condition": {
#                 "else": "ComponentProperty",
#                 "field": "string",
#                 "operand": "string",
#                 "operandType": "string",
#                 "operator": "string",
#                 "property": "string",
#                 "then": "ComponentProperty"
#               },
#               "configured": boolean,
#               "defaultValue": "string",
#               "event": "string",
#               "importedValue": "string",
#               "model": "string",
#               "property": "string",
#               "type": "string",
#               "userAttribute": "string",
#               "value": "string"
#             },
#             "type": {
#               "bindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "bindings": {
#                 "string": {
#                   "element": "string",
#                   "property": "string"
#                 }
#               },
#               "collectionBindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "componentName": "string",
#               "concat": [
#                 "ComponentProperty"
#               ],
#               "condition": {
#                 "else": "ComponentProperty",
#                 "field": "string",
#                 "operand": "string",
#                 "operandType": "string",
#                 "operator": "string",
#                 "property": "string",
#                 "then": "ComponentProperty"
#               },
#               "configured": boolean,
#               "defaultValue": "string",
#               "event": "string",
#               "importedValue": "string",
#               "model": "string",
#               "property": "string",
#               "type": "string",
#               "userAttribute": "string",
#               "value": "string"
#             },
#             "url": {
#               "bindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "bindings": {
#                 "string": {
#                   "element": "string",
#                   "property": "string"
#                 }
#               },
#               "collectionBindingProperties": {
#                 "field": "string",
#                 "property": "string"
#               },
#               "componentName": "string",
#               "concat": [
#                 "ComponentProperty"
#               ],
#               "condition": {
#                 "else": "ComponentProperty",
#                 "field": "string",
#                 "operand": "string",
#                 "operandType": "string",
#                 "operator": "string",
#                 "property": "string",
#                 "then": "ComponentProperty"
#               },
#               "configured": boolean,
#               "defaultValue": "string",
#               "event": "string",
#               "importedValue": "string",
#               "model": "string",
#               "property": "string",
#               "type": "string",
#               "userAttribute": "string",
#               "value": "string"
#             }
#           }
#         }
#       },
#       "id": "string",
#       "modifiedAt": number,
#       "name": "string",
#       "overrides": {
#         "string": {
#           "string": "string"
#         }
#       },
#       "properties": {
#         "string": {
#           "bindingProperties": {
#             "field": "string",
#             "property": "string"
#           },
#           "bindings": {
#             "string": {
#               "element": "string",
#               "property": "string"
#             }
#           },
#           "collectionBindingProperties": {
#             "field": "string",
#             "property": "string"
#           },
#           "componentName": "string",
#           "concat": [
#             "ComponentProperty"
#           ],
#           "condition": {
#             "else": "ComponentProperty",
#             "field": "string",
#             "operand": "string",
#             "operandType": "string",
#             "operator": "string",
#             "property": "string",
#             "then": "ComponentProperty"
#           },
#           "configured": boolean,
#           "defaultValue": "string",
#           "event": "string",
#           "importedValue": "string",
#           "model": "string",
#           "property": "string",
#           "type": "string",
#           "userAttribute": "string",
#           "value": "string"
#         }
#       },
#       "schemaVersion": "string",
#       "sourceId": "string",
#       "tags": {
#         "string": "string"
#       },
#       "variants": [
#         {
#           "overrides": {
#             "string": {
#               "string": "string"
#             }
#           },
#           "variantValues": {
#             "string": "string"
#           }
#         }
#       ]
#     }
#   ],
#   "nextToken": "string"
# }