std.json: Fixed issue 12969. opIndexAssign operator for JSONValue added....

... Changed order of elements in enum JSON_TYPE so NULL is a default type when JSONValue is not initialized

Signed-off-by: Uranuz <neuranuz@gmail.com>
Nitpick: the leading and trailing space inside the parens is inconsistent with the rest of the module.  Otherwise LGTM.