Versions in this module Expand all Collapse all v2 v2.6.5 Mar 21, 2024 v2.6.4 Mar 19, 2024 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)