Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Unmarshal ¶
func Unmarshal(data []byte, val interface{})
Unmarshal will try to load JSON from the given data into val. It'll read from the struct tags of the given val and look for the 'djson' tag which can supply multiple possible fields a JSON key can be. If a json key match with any of the tags it'll set the value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.