Quick Start golang encoding/json Golang

Quick Start golang encoding/json

Each item of struct to JSON structure must be an export item (import field), that is, the initials of public members must be capitalized. Tag tags can be introduced into the structure, and the corresponding field names in JSON need to be ta with struct.
Read the whole passage