JSON in Go

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

JSON Marshalling Go → JSON

JSON marshalling means generating a JSON representation from a Go object.

Map Marshalling

Struct Marshalling

By default, only fields that start with capital letters are marshaled. The fields that start with lower caps are invisible.

Also see:

Go Integers | Conversion between bytes and strings

TO PROCESS: https://golang.cafe/blog/golang-json-marshal-example.html

JSON Unmarshalling JSON → Go