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)
  2. void opOpAssign(T other)
    struct Json
    @safe
    void
    opOpAssign
    (
    string op
    T
    )
    ()
    if (
    !is(T == Json) &&
    is(typeof(Json(other)))
    )

Meta