mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 10:00:35 +00:00
This commit extends JSON support with toJson() function, which can be used in SELECT clause to transform a single argument to JSON form. toJson() accepts any type including nested collection types, so instead of being declared with concrete types, proper toJson() instances are generated during calls. This commit also supplements JSON CQL query tests with toJson calls. Finally, it refactors JSON tests so they use do_with_cql_env_thread. References #2058 Message-Id: <a7833650428e9ef590765a14e91c4d42532588f4.1523528698.git.sarna@scylladb.com>