A collection of handy JSON tools.
Functions - API calls offered directly by the extension
cp.json.decode(jsonString) -> table
hs.settings
cp.json.encode(val[, prettyprint]) -> string
cp.json.prop(path, folder, filename, defaultValue[, errorCallbackFn]) -> cp.prop
cp.prop
errorCallbackFn
cp.json.read(path) -> table | nil
nil
cp.json.write(path, data) -> boolean
true
false
Module
Core CommandPost functionality.