Json.read

Reads a string off the JSON text.

  1. string read(bool allowNull)
    struct Json(uint vl = validateUsed, bool validateUtf8 = vl > trustedSource)
    string
    read
    (
    T
    )
    (
    bool allowNull = true
    )
    if (
    is(T == string)
    )
    if (
    vl > trustedSource ||
    !validateUtf8
    )
  2. T read()
  3. N read()
  4. T read()
  5. T read()
  6. T read()
  7. T read()
  8. T read()
  9. bool read()

Parameters

allowNull bool

Allow null as a valid option for the string.

Return Value

Type: string

A GC managed string.

Meta