update from sparkleup
This commit is contained in:
parent
b7f8a85ee9
commit
43a05fdcf5
|
@ -57,7 +57,7 @@ To use struct tags to accomplish something, other Go code must be written to exa
|
|||
|
||||
JavaScript Object Notation (JSON) is a textual format for encoding collections of data organized under different string keys. It's commonly used to communicate data between different programs as the format is simple enough that libraries exist to decode it in many different languages. The following is an example of JSON:
|
||||
|
||||
```json
|
||||
```
|
||||
{
|
||||
"language": "Go",
|
||||
"mascot": "Gopher"
|
||||
|
@ -107,7 +107,7 @@ func main() {
|
|||
|
||||
This will print the following output:
|
||||
|
||||
```json
|
||||
```
|
||||
[secondary_label Output]
|
||||
{
|
||||
"Name": "Sammy the Shark",
|
||||
|
@ -157,7 +157,7 @@ func main() {
|
|||
|
||||
This will present the following output:
|
||||
|
||||
```json
|
||||
```
|
||||
[secondary_label Output]
|
||||
{}
|
||||
```
|
||||
|
@ -207,7 +207,7 @@ func main() {
|
|||
|
||||
This will output:
|
||||
|
||||
```json
|
||||
```
|
||||
[secondary_label Output]
|
||||
{
|
||||
"name": "Sammy the Shark",
|
||||
|
@ -262,7 +262,7 @@ func main() {
|
|||
|
||||
This example will output:
|
||||
|
||||
```json
|
||||
```
|
||||
[secondary_label Output]
|
||||
{
|
||||
"name": "Sammy the Shark",
|
||||
|
@ -317,7 +317,7 @@ func main() {
|
|||
|
||||
When you run this example, you'll see this output:
|
||||
|
||||
```json
|
||||
```
|
||||
[secondary_label Output]
|
||||
{
|
||||
"name": "Sammy the Shark",
|
||||
|
|
Loading…
Reference in New Issue