From e6fa3ebb03746a2e1e4716ed3415a136a52da5c0 Mon Sep 17 00:00:00 2001 From: Jimmy99 Date: Sun, 10 Apr 2016 19:04:50 +0200 Subject: [PATCH] Update 07.2.md Amended unintentional typo --- en/07.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/07.2.md b/en/07.2.md index ca1ca463..58707d3d 100644 --- a/en/07.2.md +++ b/en/07.2.md @@ -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`,