require

  1. T require(JSONValue value)
  2. T require(JSONValue value)
  3. T require(JSONValue value)
  4. T require(JSONValue value)
  5. T require(JSONValue value)
  6. T require(JSONValue value)
  7. T require(JSONValue value)
    T
    require
    (
    T
    )
    (
    JSONValue value
    )
    if (
    is(T == Date) ||
    is(T == Duration)
    ||
    is(T == SysTime)
    ||
    is(T == TimeOfDay)
    )

Throws

JSONException when the value is not of the required date-time type.

Meta