Standard LibraryJSON with encoding/json
All courses

Struct tags drive serialization

`json:"name"` tags map fields to JSON keys. Unexported fields are ignored. Use json.Marshal and json.Unmarshal for API work.

Best practice: Always check errors from Unmarshal — silent partial decode is worse than a loud failure.

Output
Press Run to execute your code.