Method Json.opCast
Converts the JSON value to
the corresponding D type
- types must match exactly.
Prototypes
inout(T) opCast(T)()() inout; inout(T) get(T)()() inout; const(T) opt(T)(const(T) def = T.init)( const(T) def ) const; T opt(T)(T def = T.init)( T def );
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.