Map is a helper method to unmarshal to a JSON Object.
()
| 82 | |
| 83 | // Map is a helper method to unmarshal to a JSON Object. |
| 84 | func (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. |
| 90 | func (p *Partial) String() (s string, err error) { |