greenServeFEgreenServeFE

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

ExportRole
readread exported function or value
loadload exported function or value
parseparse exported function or value
writewrite exported function or value
savesave exported function or value
texttext exported function or value
formatformat exported function or value
existsexists exported function or value
versionversion 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.

Related references

Module catalog · Native ABI · GSVE language