Documentation home / Native Module API
Native Module API
Object and Data Format Utilities
Read, parse, write, save and inspect structured object/data content.
Purpose
Read, parse, write, save and inspect structured object/data content.
Exports registered by the module initializer
| Export | Role |
|---|---|
read | read exported function or value |
load | load exported function or value |
parse | parse exported function or value |
write | write exported function or value |
save | save exported function or value |
text | text exported function or value |
format | format exported function or value |
exists | exists exported function or value |
version | version exported function or value |
Usage example
import gs_object;
print(gs_object.version());
print(gs_object.exists("data.json"));Export names are taken from the current C initializer. Exact supported formats and accepted argument schemas are implementation-defined; this reference does not describe the separate XML/YAML modules.
greenServeFE