Skip to content

Commit

Permalink
docs: improve JSONCookies description
Browse files Browse the repository at this point in the history
closes #39
  • Loading branch information
SanzSeraph authored and dougwilson committed Jan 19, 2018
1 parent aec8032 commit fdfbe14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Parse a cookie value as a JSON cookie. This will return the parsed JSON value if

### cookieParser.JSONCookies(cookies)

Given an object, this will iterate over the keys and call `JSONCookie` on each value. This will return the same object passed in.
Given an object, this will iterate over the keys and call `JSONCookie` on each value, replacing the original value with the parsed value. This returns the same object that was passed in.

### cookieParser.signedCookie(str, secret)

Expand Down

0 comments on commit fdfbe14

Please sign in to comment.