jsonutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKeyValue

func AddKeyValue(old interface{}, key string, value interface{}) (updated bool, found bool, err error)

AddKeyValue is used to add a key value pair into `old`

func MergeJSONObject

func MergeJSONObject(v interface{}, data []byte) (updated bool, found bool, err error)

MergeJSONObject is used to merge a marshaled json object into v

Types

This section is empty.

Jump to

Keyboard shortcuts

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