NGS version 0.2.17 auto-generated documentation
Documentation index
The global namespace
encode multimethod
encode multimethod
Methods
encode(
data:
Any
,
hints:
Hash
={}
)
Source:
stdlib.ngs:7132
Encode data as JSON if hints say that "filename" ends with ".json"
Returns
Str