StructFindValue
Method Signature
StructFindValue(struct=[structloose], value=[string], scope=[string])Arguments
Argument
Type
Required
Description
Default
Examples
Find first match for a nested struct value
myStruct = {
A : 2,
B : 4,
C : 8,
D : 10,
E : 12,
F : 12
};
myStruct.MYSECONDSTRUCT = {
A1 : 50,
A2 : 12
};
myStruct.MYSECONDSTRUCT.MYTHIRDSTRUCT = {
B1 : 12,
B2 : 65
};
myValue = StructFindValue( myStruct, "12", "one" );
WriteOutput( JSONSerialize( myValue ) );
Find all matches for a nested struct value
Find first match for a nested struct value using member function
Additional Examples
Related
Last updated
Was this helpful?
