safe

Works like as!T but it doesn't convert between types.

  1. SafeValue!T safe(JSONValue json, string path, T defaultValue)
    pure nothrow
    safe
    (
    T
    )
    (
    in JSONValue json
    ,
    in string path = ""
    ,
    in T defaultValue = T.init
    )
  2. SafeValue!(typeof(null)) safe(JSONValue json, string path)

Meta