convert a set of heterogenous values into a JSONValue array
Serialize a heterogenous array.
auto json = toJSON(1, "hi", 0.4); assert(json.type == JSON_TYPE.ARRAY); assert(json.array[0].integer == 1); assert(json.array[1].str == "hi"); assert(json.array[2].floating == 0.4);
See Implementation
convert a set of heterogenous values into a JSONValue array