Registry / utility / icza-dyno

icza-dyno

JSON →
library0.0.0-20230330125955-09f820a8d9c0gogounverified

A Go utility for working with dynamic objects (e.g., unmarshaled JSON/YAML) using path-based navigation.

go get github.com/icza/dyno
INSTALL
IMPORT
SIG · ICZA-DYNO
I
icza-dyno
utilitygov0.0.0-20230330125955-09f820a8d9c0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dyno
github.com/icza/dyno

Get a value from a dynamic object by path

package main import ( "fmt" "github.com/icza/dyno" ) func main() { obj := map[string]interface{}{"name": "John"} val, _ := dyno.Get(obj, "name") fmt.Println(val) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230330125955-09f820a8d9c0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
icza-dyno — go get icza-dyno · libregistry