Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
luizstacio committed Apr 16, 2016
1 parent d444506 commit 15167a4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,20 @@ Jackson parser is a parser o// for Jackson object to normalized json.
JacksonParser.decode(<Jackson Object>);// return a normalized json.
```
####On global
```
<script src="./dist/jacksonparser.min.js"></script>
<script>
jacksonparser.decode(<Jackson Object>);
</script>
```

##Config
##Configs
```
var JacksonParser = require('jackson-parser');
JacksonParser.config.key = "@id";
JacksonParser.config.clone = true;
JacksonParser.decode(<Jackson Object>);// return a normalized json.
```
JacksonParser.decode(<Jackson Object>);// return a new json normalized.
```

0 comments on commit 15167a4

Please sign in to comment.