JSON: Difference between revisions

Content added Content deleted
Line 793: Line 793:
</pre>
</pre>
Example below demonstrates more typical case where you have an expected correspondence between JSON data and some composite data types in your program, and shows how the correspondence doesn't have to be exact.
Example below demonstrates more typical case where you have an expected correspondence between JSON data and some composite data types in your program, and shows how the correspondence doesn't have to be exact.
<lang>package main
<lang go>package main


import "encoding/json"
import "encoding/json"