module

C0::JSON

Class methods

from_json(input : String, group_name : String = "data") : Bytes

Convert JSON string to C0DATA compact bytes.

Source
from_yaml(input : String, group_name : String = "data") : Bytes

Convert YAML string to C0DATA compact bytes.

Source
to_json(buf : Bytes) : String

Convert C0DATA compact bytes to JSON string.

Source
to_yaml(buf : Bytes) : String

Convert C0DATA compact bytes to YAML string.

Source

Nested types