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