-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
ALL
-
QE 2025-02-17
For legacy reasons tojson() output does not produce valid JSON, but some serialization of objects that is expected to be evaluable.
Currently, tojson(new Set([1, 2])) returns [1, 2], which evaluates to Array, but it should rather be "new Set([1, 2])". The same is with Map instances.