You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
Marshal comment
This commit is contained in:
@ -82,8 +82,8 @@ func UnmarshalAnyFromString(str string) (Any, error) {
|
||||
}
|
||||
|
||||
// jsoniterator.Marshal is an adapter to json.Marshal
|
||||
|
||||
// Marshal returns the JSON encoding of v, adapts to json/encoding API
|
||||
//
|
||||
// Marshal returns the JSON encoding of v, adapts to json/encoding Marshal API
|
||||
|
||||
func Marshal(v interface{}) ([]byte, error) {
|
||||
buf := &bytes.Buffer{}
|
||||
|
Reference in New Issue
Block a user