NGS version 0.2.5 auto-generated documentation
Documentation index
The global namespace
encode_json multimethod
encode_json multimethod
Methods
encode_json(
obj:
Any
)
Encode JSON (serialize a data structure to JSON)
Returns
Str
Example
encode_json({"a": 1+1}) # The string { "a": 2 }