Registry / serialization / polydawn-refmt

polydawn-refmt

JSON →
library0.90.0gogounverified

A serialization and object-mapping library for Go, supporting JSON and other formats via composable token streams.

go get github.com/polydawn/refmt
INSTALL
IMPORT
SIG · POLYDAWN-REFMT
P
polydawn-refmt
serializationgov0.90.0
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.

refmt
github.com/polydawn/refmt

Marshals a struct to JSON using refmt.

package main import ( "fmt" "github.com/polydawn/refmt" ) func main() { type Person struct { Name string Age int } p := Person{Name: "Alice", Age: 30} out, err := refmt.JsonMarshal(p) if err != nil { panic(err) } fmt.Println(string(out)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
polydawn-refmt — go get polydawn-refmt · libregistry