ofString


Description:

public static JsonValue ofString (string value)

Creates a string JSON value.

Example:

    var v = JsonValue.ofString ("hello");
assert (v.asString () == "hello");

Parameters:

value

string content.

Returns:

JSON string value.