@Oyasumi-Punpun said in please help with json path:
sites[0].user.data['id']
ну и как мне тогда сделать динамичное удаление нужных мне значений без переменных?
upd:ладно, я понял о чем речь, исправил, спасибо!
I can't make the string to JSON work even with the basic example: {"a":"b"}.
I have exactly that written in a file called test.txt.
I read it with the readfile module
then I get "{"a":"b"}".
Then string to json module fails.
@samuelnihoul said in Cannot convert basic JSON to string with the JSON module:
I can't make the string to JSON work even with the basic example: {"a":"b"}.
I have exactly that written in a file called test.txt.
I read it with the readfile module
then I get "{"a":"b"}".
Then string to json module fails.
var parsed = JSON.parse(some_string_value);
OK thanks