fromyaml

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromYaml

func FromYaml(opts ...any) gloo.Command[[]byte, []byte]

FromYaml converts a YAML document on the input into a single compact JSON value (object, array, or scalar), letting YAML feed the rest of the json pipeline. The whole input is one document, so it is buffered and emitted as one value.

Types

type Error

type Error string

Error is the sentinel error type for the fromyaml package.

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL