About JSON to Go Struct
The 'JSON to Go Struct' is a web service that generates Golang structures from JSON string.
This service uses WebAssembly.
Therefore, JSON strings are processed without being sent to the server.
If you specify an array with multiple objects, the Keys not present in all objects are output as pointer types.
example
input:
[ {"key1": "ramen", "key2": "value2", "key3": "value3"}, {"key1": "sushi", "key2": "value2"}, {"key1": "curry"} ]
output:
type J2S1 []J2S2 type J2S2 struct { Key1 string `json:"key1"` Key2 *string `json:"key2"` // It will be a pointer. Key3 *string `json:"key3"` // It will be a pointer. }
The current version is v0.3.9