vibe.d beta banner
get vibe.d
0.10.1

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
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

Authors

Sönke Ludwig

Copyright

© 2012-2015 Sönke Ludwig

License

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