Open marciondg opened 1 year ago
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
symbolize_keys
on
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
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 theon
options, ignoring the sent during the initialization. https://github.com/joshbuddy/jsonpath/blob/4e31ac9fc05eb309999903e674cd3a79763cb7a0/lib/jsonpath.rb#L79-L87So, I tried as follows and it worked!
Should the documentation be modified or rather the implementation? Thanks!