Permalink
Browse files

fix spelling in code

  • Loading branch information...
1 parent 6882b4a commit ce582628b367843c56aa6f83316128a7e8a6184a @mreiferson committed Jul 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 simplejson.go
View
4 simplejson.go
@@ -26,13 +26,13 @@ func NewJson(body []byte) (*Json, error) {
return j, nil
}
-// Encode returns it's marshaled data as `[]byte`
+// Encode returns its marshaled data as `[]byte`
func (j *Json) Encode() ([]byte, error) {
return json.Marshal(&j.data)
}
// Get returns a pointer to a new `Json` object
-// for `key` in it's `map` representation
+// for `key` in its `map` representation
//
// useful for chaining operations (to traverse a nested JSON):
// js.Get("top_level").Get("dict").Get("value").Int()

0 comments on commit ce58262

Please sign in to comment.