Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,13 @@ const { json, meta } = serialize(object);
deserialize({ json, meta }, { inPlace: true });
```

Options

- `inPlace: boolean`
- Default: `false`
- Mutate the input json object in place instead of returning a deep copy
- `inPlace: true` will be much more performant on large objects if it's safe to mutate it

Returns **`your original value`**.

### stringify
Expand Down
Loading