setValueToJSON(value, settings: Object, path: String, justReturn: Boolean);
value. Value to set for the specified property.
settings. Initial object.
path. Path to the specified property.
justReturn. Indicates if the current object is returned. If this parameter is True, the method returns the current object, otherwise nothing is returned. This is an optional parameter, by default its value is not defined.
The setValueToJSON method sets property value for object with any nesting level relative to the initial object.
If a property is not available at the path to the specified field, the method creates it.
The example of use is given in the with description of the static method PP.getProperty.
See also: