//
pkg.gl
Category
github.com/sapcc/go-api-declarations
internal
marshal
package
1.12.6
Repository:
https://github.com/sapcc/go-api-declarations.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
2
Files
29 SLOC
#
Functions
MapAsList
MapAsList marshals a map type into a flat JSON list, thereby discarding the keys.
MapFromList
MapFromList unmarshals a flat JSON list into a map, using the provided predicate to obtain the keys for each item.