Constructor for JSONValue. If arg is a JSONValue
its value and type will be copied to the new JSONValue.
Note that this is a shallow copy: if type is JSONType.object
or JSONType.array then only the reference to the data will
be copied.
Otherwise, arg must be implicitly convertible to one of the
following types: typeof(null), string, ulong,
long, double, an associative array V[K] for any V
and K i.e. a JSON object, any array or bool. The type will
be set accordingly.
Constructor for JSONValue. If arg is a JSONValue its value and type will be copied to the new JSONValue. Note that this is a shallow copy: if type is JSONType.object or JSONType.array then only the reference to the data will be copied. Otherwise, arg must be implicitly convertible to one of the following types: typeof(null), string, ulong, long, double, an associative array V[K] for any V and K i.e. a JSON object, any array or bool. The type will be set accordingly.