Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix option #36

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update README.md
  • Loading branch information
richardschneider committed Oct 30, 2015
commit e3461b0651b5a86585f45b56f3b163dd4fa75820
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ unflatten({

Use a custom delimiter for (un)flattening your objects, instead of `.`.

### prefix

Use a custom prefix for (un)flattening your objects, instead of ``. The prefix is added to each key name. `delimiter` default to this value if it is defined.

### safe

When enabled, both `flat` and `unflatten` will preserve arrays and their
Expand Down