jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

`symbolize_keys` option doesn't work as the README says

Open marciondg opened this issue 2 years ago • 1 comments

Hi everyone! Checking the README I found this interesting option

image

However, when I tested it in my project, it didn't work as expected

image

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! image

Should the documentation be modified or rather the implementation? Thanks!

marciondg avatar Aug 01 '23 18:08 marciondg

I have tried to fix above issue, kindly check @joshbuddy

https://github.com/joshbuddy/jsonpath/pull/165

anupama-kumari avatar Oct 10 '23 11:10 anupama-kumari