Versions in this module Expand all Collapse all v1 v1.16.9 Mar 28, 2022 v1.16.8 Mar 28, 2022 Changes in this version + func Decode(content []byte) (map[string]interface{}, error) + func DecodeWithoutRoot(content []byte) (map[string]interface{}, error) + func Encode(m map[string]interface{}, rootTag ...string) ([]byte, error) + func EncodeWithIndent(m map[string]interface{}, rootTag ...string) ([]byte, error) + func ToJson(content []byte) ([]byte, error)