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
  1. void opOpAssign(Json other)
    struct Json
    @safe @trusted
    void
    opOpAssign
    (
    string op
    )
    if (
    op == "+" ||
    op == "-"
    ||
    op == "*"
    ||
    op == "/"
    ||
    op == "%"
    ||
    op == "~"
    )
  2. void opOpAssign(T other)

Meta