package
Version:
v0.177.0
Opens a new window with list of versions in this module.
Published: Jan 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package jsonpath implements a subset of JSON path over maps and slices
func GetKeys(data interface{}, jsonKeys ...string) interface{}
GetKeys retrieves the value at the given path by following each key in data. If
data is not a map or if a key is not present, it returns nil.
func SetKeys(data interface{}, value interface{}, jsonKeys ...string) map[string]interface{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.