vibe.d beta banner
get vibe.d
0.7.30

Function Json.opUnary

Performs unary operations on the JSON value.

The following operations are supported for each type:

Null
none
Bool
~
Int
+, -, ++, --
Float
+, -, ++, --
String
none
Array
none
Object
none

Prototype

Json opUnary(string op)() const;
Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

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