vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Json.opCast - multiple declarations

Function Json.opCast

Converts this Json object to a std.json.JSONValue object

T opCast(T)() const @safe
if (is(T == JSONValue));

Function Json.opCast

Converts the JSON value to the corresponding D type - types must match exactly.

inout inout(T) opCast(T)()
if (!is(T == JSONValue));

Available Types

See Also

opt, to, deserializeJson


Sönke Ludwig


© 2012-2015 RejectedSoftware e.K.


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.