Registry / serialization / vmware-labs-yaml-jsonpath

vmware-labs-yaml-jsonpath

JSON →
library0.3.2gogounverified

A Go library for querying YAML and JSON documents using JSONPath expressions.

go get github.com/vmware-labs/yaml-jsonpath
INSTALL
IMPORT
SIG · VMWARE-LABS-YAML-J
V
vmware-labs-yaml-jsonpath
serializationgov0.3.2
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.

yamljsonpath
github.com/vmware-labs/yaml-jsonpath

Query a YAML document using JSONPath and print the result.

package main import ( "fmt" "github.com/vmware-labs/yaml-jsonpath" ) func main() { yamlData := []byte("name: John\nage: 30") result, err := yamljsonpath.Get(yamlData, "$.name") if err != nil { panic(err) } fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
vmware-labs-yaml-jsonpath — go get vmware-labs-yaml-jsonpath · libregistry