Registry / serialization / joncalhoun-qson

joncalhoun-qson

JSON →
library0.0.0-20200422171543-84433dcd3da0gogounverified

Package qson decodes URL query parameters into JSON and Go values using JSON struct tags.

go get github.com/joncalhoun/qson
INSTALL
IMPORT
SIG · JONCALHOUN-QSON
J
joncalhoun-qson
serializationgov0.0.0-20200422171543-84433dcd3da0
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.

qson
github.com/joncalhoun/qson

Unmarshals a query string into a map.

package main import ( "fmt" "github.com/joncalhoun/qson" ) func main() { var result map[string]interface{} err := qson.Unmarshal(&result, "name=John&age=30") if err != nil { panic(err) } fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200422171543-84433dcd3da0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
joncalhoun-qson — go get joncalhoun-qson · libregistry