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 will make a PR to add ObjectPath package like dependencie. This dep looks reliable : https://github.com/mike-marcacci/objectpath/blob/master/test/index.js
Example :
> var ObjectPath = require('objectpath'); undefined > ObjectPath.parse('a[1].b.c.d["e"]["f"].g'); [ 'a', '1', 'b', 'c', 'd', 'e', 'f', 'g' ] > ObjectPath.parse('a[1].b.c.d["e"]["www.site.com"].g'); [ 'a', '1', 'b', 'c', 'd', 'e', 'www.site.com', 'g' ] > ObjectPath.parse('a[1].b.c.d["e"]["www.site\\".com"].g'); [ 'a', '1', 'b', 'c', 'd', 'e', 'www.site".com', 'g' ] > ObjectPath.parse('a[1].b.c.d[\'e\']["www.site\\".com"].g'); [ 'a', '1', 'b', 'c', 'd', 'e', 'www.site".com', 'g' ]
The text was updated successfully, but these errors were encountered:
@madarche is it right for you? Can i use ObjectPath?
ObjectPath
We will able to do conf.get('a[1].b.c.d["e"]["www.site.com"].g') :)
conf.get('a[1].b.c.d["e"]["www.site.com"].g')
Sorry, something went wrong.
node-blueconfig
Successfully merging a pull request may close this issue.
I will make a PR to add ObjectPath package like dependencie. This dep looks reliable : https://github.com/mike-marcacci/objectpath/blob/master/test/index.js
Example :
The text was updated successfully, but these errors were encountered: