jsonutil

package
v1.1.0-beta.0...-dd8df1a Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 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 any, key string, value any) (updated bool, found bool, err error)

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

func MergeJSONObject

func MergeJSONObject(v any, 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