yq/pkg/yqlib/doc/headers/Encoder and Decoder.md
2021-10-22 14:55:58 +11:00

3 lines
331 B
Markdown

Encode operators will take the piped in object structure and encode it as a string in the desired format. The decode operators do the opposite, they take a formatted string and decode it into the relevant object structure.
These operators are useful to process yaml documents that have stringified embeded yaml/json/props in them.