The insertJson
method inserts metadata from a JSON string, LuaJsonObject, or LuaJsonArray, into the field.
insertJson ( json [, fieldName] )
Argument | Description |
---|---|
json
|
(string or LuaJsonArray or LuaJsonObject) The JSON to insert into the field. |
fieldName
|
(string) The name of a sub-field to add the JSON to. If you set this argument, a sub-field is created. If you do not set this argument, the JSON is added to the field that the method was called on. |
|