1
0
mirror of https://github.com/json-iterator/go.git synced 2025-03-23 21:09:11 +02:00

Marshal comment

This commit is contained in:
nifei 2017-06-05 19:18:12 +08:00
parent ff027701f5
commit 4406ed9e62

View File

@ -81,7 +81,7 @@ func UnmarshalAnyFromString(str string) (Any, error) {
return nil, iter.Error
}
// jsoniterator.Marshal is an adapter to json.Marshal
// Marshal is an adapter to json.Marshal
//
// Marshal returns the JSON encoding of v, adapts to json/encoding Marshal API
func Marshal(v interface{}) ([]byte, error) {