Method 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 RejectedSoftware e.K.

License

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