Ink v1.0.0 Ink.Encoder View Source

Responsible for encoding any value to JSON. Uses Poison for the JSON encoding, but converts values that are not handled by Poison 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.