translate

package
v0.157.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesYamlToArrai

func BytesYamlToArrai(bytes []byte) (rel.Value, error)

func ToArrai

func ToArrai(data interface{}) (rel.Value, error)

ToArrai translates an object unmarshalled from json/yaml into an array value

translation follows the rules

object -> {|@,@item|, |key,val|, ...}
array  -> array
null   -> none
other  -> value (bools, numerics, strings)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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