jsonpath
jsonpath copied to clipboard
`symbolize_keys` option doesn't work as the README says
Hi everyone! Checking the README I found this interesting option
However, when I tested it in my project, it didn't work as expected
Looking over the implementation, I detected that it uses a symbolize_keys expected in the on options, ignoring the sent during the initialization.
https://github.com/joshbuddy/jsonpath/blob/4e31ac9fc05eb309999903e674cd3a79763cb7a0/lib/jsonpath.rb#L79-L87
So, I tried as follows and it worked!
Should the documentation be modified or rather the implementation? Thanks!
I have tried to fix above issue, kindly check @joshbuddy
https://github.com/joshbuddy/jsonpath/pull/165