additional-properties

module
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2021 License: Apache-2.0

README

additional-properties

Generates MarshalJSON and UnmarshalJSON methods to allow arbitrary fields when marshaling and unmarshaling structs. See the official JSON Schema definition of additional properties at https://json-schema.org/understanding-json-schema/reference/object.html

This attempts to fix a problem with encoding/json where there's no way to retrieve arbitrary fields when unmarshaling to a struct as described in https://github.com/golang/go/issues/6213.

Directories

Path Synopsis
pkg
ap

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL