Seems like nim currently doesn't support JSON for tuples
Is there any workaround, maybe convert tuple to map or object and then convert it to json or something like that?
import json
echo %(a: 1, b: 2)
https://github.com/status-im/nim-json-serialization can do it
import json_serialization
echo Json.encode (a: 1, b: 2)
outputs:
{"a":1,"b":2}