Update 07.2.md

Amended unintentional typo
This commit is contained in:
Jimmy99
2016-04-10 19:04:50 +02:00
committed by James Miranda
parent 6681b6c069
commit e6fa3ebb03

View File

@@ -57,7 +57,7 @@ You may have noticed that all fields that are going to be assigned should be exp
When we know what kind of JSON to expect in advance, we can parse it to a specific struct. But what if we don't know?
We know that an interface{} can be anything in Go, so it is the best container to save our JSON of unknown format. The JSON package uses `map[string]interface{}` and `[]interface{}` to save all kinds of JSON objects and arrays. Here is a list of JSON mapping relations:typographical errors and improved readability
We know that an interface{} can be anything in Go, so it is the best container to save our JSON of unknown format. The JSON package uses `map[string]interface{}` and `[]interface{}` to save all kinds of JSON objects and arrays. Here is a list of JSON mapping relations:
- `bool` represents `JSON booleans`,
- `float64` represents `JSON numbers`,