Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Jan 18, 2024
1 parent 9502e21 commit edf07f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func UnmarshalString(buf string, val interface{}) error {
// - String is target key, means searching current node as object.
//
//
// Note, the api expects the json is well-formed at least,
// Notice: It expects the src json is **Well-formed** and **Immutable** when calling,
// otherwise it may return unexpected result.
func Get(src []byte, path ...interface{}) (ast.Node, error) {
return GetCopyFromString(rt.Mem2Str(src), path...)
Expand Down

0 comments on commit edf07f9

Please sign in to comment.