CdmNode.opIndexAssign

void opIndexAssign(CdmNode value, string key) pure @safe

Assigns a value to the given key in this OBJECT.

Note

If this node is NULL, it is silently converted to OBJECT.

If the key already exists, its value is replaced. Otherwise, a new member is created.

Parameters

valueThe node value to assign.
keyThe member key. Empty keys are allowed but discouraged.