Registry / serialization / perimeterx-marshmallow

perimeterx-marshmallow

JSON →
library1.1.5gogounverified

A flexible and performant JSON unmarshalling library that supports known and unknown fields.

go get github.com/perimeterx/marshmallow
INSTALL
IMPORT
SIG · PERIMETERX-MARSHMA
P
perimeterx-marshmallow
serializationgov1.1.5
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.

marshmallow
github.com/perimeterx/marshmallow

Unmarshal JSON with unknown fields captured in a map

package main import ( "github.com/perimeterx/marshmallow" ) func main() { type MyStruct struct { Name string `json:"name"` } var s MyStruct data := []byte(`{"name":"test","extra":"value"}`) result, _ := marshmallow.Unmarshal(data, &s) println(result["extra"].(string)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
perimeterx-marshmallow — go get perimeterx-marshmallow · libregistry