How to parse json in Go
Issue #199
Unmarshal using encoding/json
- property in struct needs to be first letter capitalized
1 | import ( |
Map
And how to map to another struct
https://gobyexample.com/collection-functions
1 | func Map(vs []JsonStop, f func(JsonStop) *api.Stop) []*api.Stop { |