Skip to content

Please support JSON / Object('json') type - at least [bulk] inserts #308

Open
@v-instrumentix

Description

@v-instrumentix

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions