Skip to content

Commit

Permalink
Merge b5167a5 into 02c28cf
Browse files Browse the repository at this point in the history
  • Loading branch information
GillianPerard committed Apr 30, 2018
2 parents 02c28cf + b5167a5 commit 90eae6d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# typescript-json-serializer
[![Build Status](https://travis-ci.org/GillianPerard/typescript-json-serializer.svg?branch=master)](https://travis-ci.org/GillianPerard/typescript-json-serializer)
[![Coverage Status](https://coveralls.io/repos/github/GillianPerard/typescript-json-serializer/badge.svg)](https://coveralls.io/github/GillianPerard/typescript-json-serializer)

A typescript library to deserialize json into typescript classes and serialize classes into json.

Expand Down Expand Up @@ -66,7 +68,7 @@ import { JsonProperty, Serializable, deserialize, serialize } from 'typescript-j

```typescript
// serialize function transform typescript class into json.
// It take two parameters:
// It takes two parameters:
// - a instance of the class to serialize
// - a boolean to remove undefined property (default true)

Expand All @@ -75,7 +77,7 @@ serialize(instance: any, removeUndefined: boolean = true)

```typescript
// deserialize function transform json into typescript class.
// It take two parameters:
// It takes two parameters:
// - json data
// - the class you want to deserialize into

Expand Down

0 comments on commit 90eae6d

Please sign in to comment.