JsonParser.expected

Report error about an expected token not being found

  1. void expected(cstring token)
  2. void expected(cstring token, const(T)* point)
    class JsonParser(T, bool AllowNaN = false)
    protected final
    void
    expected
    (,
    const(T)* point
    )

Parameters

token cstring

the token that was expected to be found

point const(T)*

Where the token was expected

Throws

Always end up throwing a new expection

Meta