Response.fromJSONString

Construct an Response from a JSON string.

struct Response
package static
fromJSONString
(
const char[] str
)

Parameters

str char[]

The string to convert to an Response object.

Throws

std.json.JSONException if the string cannot be parsed as JSON.

Meta