Namespace: network

.evtTools. network

Methods

staticgdjs.evtTools.network.jsonToVariableStructure(jsonStr, variable){boolean}

Parse the given JSON and fill the content of the variable with it TODO: Move to gdjs.Variable static

Name Type Description
jsonStr string

The JSON string

variable gdjs.Variable

The variable where to put the parsed JSON

Returns:
Type Description
boolean true if JSON was properly parsed

staticgdjs.evtTools.network.variableStructureToJSON(variable){string}

Convert a variable to JSON. TODO: Move to gdjs.Variable static

Name Type Description
variable gdjs.Variable

The variable to convert to JSON

Returns:
Type Description
string The JSON string representing the variable