clickhouse-cpp
clickhouse-cpp copied to clipboard
Please support JSON / Object('json') type - at least [bulk] inserts
Dear all, my app (c++) needs to populate JSON column. Is there a plan to add support for it?
I made attempt to add JSON following implementation for String type (https://github.com/v-instrumentix/clickhouse-cpp.git - sorry if you find it nasty), but ended with server error
DB::Exception: Syntax error (data type): failed at position 1 ('{'): {"a":false, "b":true, "c":0, "d":1, "e":"Hello", "d":"", "z":null}. Expected one of: data type, nested table, identifier.
..that looks as I miss something about the protocol / encoding, and this is where I stuck. Any hints would be welcome.
Thanks!