Foundation 6

Fnd_Obj

2 shared methods.

Fnd_Obj_LoadFromFile

Fnd_Obj_LoadFromFile (Path to .json file) --> Object

Description

ParameterTypeDirectionDescription
filepathTextinPath to .json file (optional)
ResultObjectoutThe loaded object

Fnd_Obj_SaveToFile

Fnd_Obj_SaveToFile (Object; File Path {; Pretty Print?})

Takes an object and writes it to disk as a JSON text document NB. will overwrite existing doc, without checking

ParameterTypeDirectionDescription
objectObjectinDescription
filepathTextinFile path
inUsePrettyPrintBoolean {Optional}inTrue (default) = Use Pretty Print