@Fazik-0 said in How to convert var:
How to convert a variable of type string [[CENA]] with value 1,000.00 to type Int with value 1000
3c69e1d8-64b7-47e9-b153-c7df9d32589b-ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΠ΅.png
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