View Source Ink.Encoder (Ink v1.2.1)

Responsible for encoding any value to JSON. Uses Jason for the JSON encoding, but converts values that are not handled by Jason before that, like tuples or PIDs.

Link to this section Summary

Functions

Accepts a map and recursively replaces all JSON incompatible values with JSON encodable values. Then converts the map to JSON.

Link to this section Functions

Accepts a map and recursively replaces all JSON incompatible values with JSON encodable values. Then converts the map to JSON.