Json.read

Reads an associative-array off a JSON text.

The key type must be string, the value type can be any type otherwise supported by the parser.

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

Parameters

T

The type of AA to return.

Return Value

Type: T

A newly filled associative array.

Meta