-
Notifications
You must be signed in to change notification settings - Fork 196
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
Custom delimiter function #65
Comments
@hughsk WDYT if I'll prepare such PR? |
I need the camel case option as well. We need this functionality for better customisation of key names than a simple separator! |
There is a snake case variant here |
I complete rewrote flat as flat2 Includes loads of customisation options for custom key generation and transforms to fit any such scenario. Now |
@mxl how would you handle the case where the object looks like so?
Now you have the key-value pair
How will this be unflattened? Or, how will you determine whether or not this is |
Proposal
Support passing
(string, string) => string
function as a delimiter option.For example, for object:
and
delimiter
:it will produce camel case names:
The text was updated successfully, but these errors were encountered: