Function Json.opOpAssign
Performs binary operations between JSON values.
The two JSON values must be of the same run time type
or a JSONException
will be thrown. Only the operations listed are allowed for each of the
types.
- Null
- none
- Bool
- &&, ||
- Int
- +, -, *, /, %
- Float
- +, -, *, /, %
- String
- ~
- Array
- ~
- Object
- in
Prototypes
void opOpAssign(string op)( Json other ); void opOpAssign(string op, T)( T other );
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.