Entries from 2017-02-02 to 1 day
GoでNestされたjsonの扱いがわからなかったのでメモ。 jStr := ` { "root": { "c1": ["cv1"], "c2": ["cv2"] } } ` type Children struct { c1 []string `json:"c1"` c2 []string `json:"c2"` } type Root struct { c Children `json:"root"` } var root Roo…