Json.this

Constructor taking a string for fast slicing.

JSON strings without escape sequences can be returned as slices.

  1. this()
  2. this(string text)
    struct Json(uint vl = validateUsed, bool validateUtf8 = vl > trustedSource)
    nothrow
    this
    (
    string text
    )
    if (
    vl > trustedSource ||
    !validateUtf8
    )
  3. this(char[] text)

Parameters

text string

The JSON text to parse.

Meta