|
|
|
|
|
Member (Property) In french: Membre
When used on Variant variables, the Member property is used to get the array of named elements. v is Variant = JSONToVariant(JSON) FOR EACH x OF v.Member Trace("The member " + x.Name + " has the value " + x.Value) END
jedi is JSON = [ { "id": 5, "name": "Luke Skywalker", "pilotingScore": 98, "shootingScore": 56, "isForceUser": True } ] Â v is Variant = JSONToVariant(jedi) Trace("In the Jedi JSON:") FOR EACH x OF v..Member Trace("The member " + x.Name + " has the value " + x.Value) END
Syntax
Getting the array of named elements of a Variant variable Hide the details
<Result> = <Variant>.Member
<Result>: Array Array of named elements. You can iterate through the array using FOR EACH. <Variant>: Character string Name of the Variant variable to be used.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|