Skip to content

Commit

Permalink
Merge pull request #9 from edcarroll/develop
Browse files Browse the repository at this point in the history
v2.2.2 into master
  • Loading branch information
edcarroll authored Mar 29, 2017
2 parents ccb4314 + 1587fd5 commit 625253b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class JSON {
}

public static parse<T>(json:string, type?:Function, options?:IParseOptions):T {
return this.deserialize<T>(global.JSON.parse(json), type);
return this.deserialize<T>(global.JSON.parse(json), type, options);
}

public static serialize(value:any):JsonValue {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ta-json",
"version": "2.2.1",
"version": "2.2.2",
"description": "Type-aware JSON serializer/parser",
"main": "index.js",
"typings": "index.d.ts",
Expand Down

0 comments on commit 625253b

Please sign in to comment.