Registry / serialization / pquerna-ffjson

pquerna-ffjson

JSON →
library0.0.0-20190930134022-aa0246cd15f7gogounverified

Faster JSON serialization for Go by generating static marshal and unmarshal functions.

go get github.com/pquerna/ffjson
INSTALL
IMPORT
SIG · PQUERNA-FFJSON
P
pquerna-ffjson
serializationgov0.0.0-20190930134022-aa0246cd15f7
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.

ffjson
github.com/pquerna/ffjson

Marshal a struct to JSON using ffjson.

package main import ( "fmt" "github.com/pquerna/ffjson/ffjson" ) type User struct { Name string `json:"name"` Age int `json:"age"` } func main() { u := User{Name: "Alice", Age: 30} b, _ := ffjson.Marshal(u) fmt.Println(string(b)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190930134022-aa0246cd15f7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pquerna-ffjson — go get pquerna-ffjson · libregistry