mirror of
https://github.com/json-iterator/go.git
synced 2025-06-06 22:36:25 +02:00
Marshal comment
This commit is contained in:
parent
ff027701f5
commit
4406ed9e62
@ -81,7 +81,7 @@ func UnmarshalAnyFromString(str string) (Any, error) {
|
|||||||
return nil, iter.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
|
// Marshal returns the JSON encoding of v, adapts to json/encoding Marshal API
|
||||||
func Marshal(v interface{}) ([]byte, error) {
|
func Marshal(v interface{}) ([]byte, error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user