Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zzy committed Oct 22, 2021
1 parent e93b1aa commit 1ebbd77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions object.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ func (o Object) Range(fn func(key string, value Value) (continued bool)) bool {
return true
}

func (o Object) JSON(keys ...interface{}) []byte {
return o.Get().JSON(keys...)
}

func (o Object) JSONString(keys ...interface{}) string {
return o.Get().JSONString(keys...)
}

0 comments on commit 1ebbd77

Please sign in to comment.