converter

package
v1.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flatten

func Flatten(nested map[string]interface{}) (map[string]interface{}, error)

Flatten flattens the nested map examples: {a: {b: c}} => {a.b: c} {a: [{b: c}, [b: d]} => {a[0].b: c, a[1].b: d} {a: [b, c]} => {a[0]: b, a[1]: c}

func YamlToFlatMap

func YamlToFlatMap(data []byte) (map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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