Versions in this module Expand all Collapse all v2 v2.4.1 Jan 5, 2021 v2.4.0 Jan 5, 2021 Changes in this version + func JSON(val interface{}, warnings *[]Warning) json.RawMessage + func JSONModuleObject(val interface{}, fieldName, fieldVal string, warnings *[]Warning) json.RawMessage + func RegisterAdapter(name string, adapter Adapter) + type Adapter interface + Adapt func(body []byte, options map[string]interface{}) ([]byte, []Warning, error) + func GetAdapter(name string) Adapter + type Warning struct + Directive string + File string + Line int + Message string