JSON inserts without quotes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

JSON inserts without quotes

This post was updated on .
Hi there,

i am trying to insert a json into a text file.

what i want is this:
{"coord"={"lon"=16.37, "lat"=48.21}, "name":"test"}

what i get is this:
{coord={lon=16.37, lat=48.21}, name=test}

Missing the double quotes.

How can I prevent this from happening?

EDIT: Tried [[${json}]] as well as [(${json})] both yield the same result.
version 3.0.11