We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I love the stopPaths feature, however, in a structure that looks something like this:
{ "foo": [ { "bar": { "baz": {...} } } ] }
... where I want baz to remain uncamelized, it's kinda unusable, as far as I understand.
baz
Would it be possible to do something like stopPaths: ['*.bar.baz']? Does that make sense?
stopPaths: ['*.bar.baz']
The text was updated successfully, but these errors were encountered:
I'm open to supporting this use-case, but the syntax has to be well thought through.
I still think the path should be absolute. Just matching from the end feels a bit loose.
How about something like '*.[].bar.baz', where * means any property and [] means it's an array?
'*.[].bar.baz'
*
[]
Sorry, something went wrong.
I have faced the same issue, do you know what is current approach with arrays for stopPath?
@aspirisen currently arrayname.property works. no need of []
eg, I wanted to stop elements under 'c' getting conveted in a: [ { b : 'x' , c : { d : 'e' } } ]
for that stopPaths:['a.c'] worked.
No branches or pull requests
I love the stopPaths feature, however, in a structure that looks something like this:
... where I want
baz
to remain uncamelized, it's kinda unusable, as far as I understand.Would it be possible to do something like
stopPaths: ['*.bar.baz']
? Does that make sense?The text was updated successfully, but these errors were encountered: