MCPcopy Index your code
hub / github.com/koding/kite / Map

Method Map

dnode/partial.go:84–87  ·  view source on GitHub ↗

Map is a helper method to unmarshal to a JSON Object.

()

Source from the content-addressed store, hash-verified

82
83// Map is a helper method to unmarshal to a JSON Object.
84func (p *Partial) Map() (m map[string]*Partial, err error) {
85 err = p.Unmarshal(&m)
86 return
87}
88
89// String is a helper to unmarshal a JSON String.
90func (p *Partial) String() (s string, err error) {

Callers 1

MustMapMethod · 0.95

Calls 1

UnmarshalMethod · 0.95

Tested by

no test coverage detected