jsontransform

package
v5.6.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformNumbers

func TransformNumbers(dict common.MapStr)

TransformNumbers walks a json decoded tree an replaces json.Number with int64, float64, or string, in this order of preference (i.e. if it parses as an int, use int. if it parses as a float, use float. etc).

func WriteJSONKeys

func WriteJSONKeys(event common.MapStr, keys map[string]interface{}, overwriteKeys bool, errorKey string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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