Registry / serialization / clbanning-x2j

clbanning-x2j

JSON →
library0.0.0-20191024224557-825249438eecgogounverified

Deprecated: Use github.com/clbanning/mxj. x2j provides XML to JSON conversion utilities.

go get github.com/clbanning/x2j
INSTALL
IMPORT
SIG · CLBANNING-X2J
C
clbanning-x2j
serializationgov0.0.0-20191024224557-825249438eec
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.

x2j
github.com/clbanning/x2j

Converts XML to JSON using x2j.

package main import ( "fmt" "github.com/clbanning/x2j" ) func main() { xmlBytes := []byte(`<root><item>value</item></root>`) jsonBytes, err := x2j.ToJson(xmlBytes) if err != nil { panic(err) } fmt.Println(string(jsonBytes)) }
Debug
Known issues
breakingThis package is deprecated; use github.com/clbanning/mxj instead.
fix
Replace import with github.com/clbanning/mxj and update API calls accordingly.
affects: >=0.0.0
Upgrade
Version history
0.0.0-20191024224557-825249438eeclatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
clbanning-x2j — go get clbanning-x2j · libregistry