Decodes the JSON string as a value.
const data = json.decode(`{"hello":"world"}`);print(data.hello) // -> world Copy
const data = json.decode(`{"hello":"world"}`);print(data.hello) // -> world
Decodes the JSON string as a value.