Loads the given string into the JSON object. Destroys the existing object.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
this.load(string jsonValue)

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
page.<id>.load(string jsonValue)

Parameters

Name Data Type Description
jsonValue String JSON string to be loaded.

Return Value

None.

Used in

Macro Description
Json The JSON macro can parse a JSON string. It exposes properties to query the resulting object and methods to modify it.
SXML