You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
link test
This commit is contained in:
@ -8,6 +8,9 @@ import (
|
||||
// Unmarshal adapts to json/encoding Unmarshal API
|
||||
//
|
||||
// Unmarshal parses the JSON-encoded data and stores the result in the value pointed to by v.
|
||||
// <l>https://godoc.org/encoding/json#Unmarshal</l>
|
||||
// linktest: https://godoc.org/encoding/json#Unmarshal
|
||||
// <a href="https://godoc.org/encoding/json#Unmarshal">link test</a>
|
||||
func Unmarshal(data []byte, v interface{}) error {
|
||||
data = data[:lastNotSpacePos(data)]
|
||||
iter := ParseBytes(data)
|
||||
|
Reference in New Issue
Block a user