# Scylla introduces JSON support to SELECT and INSERT statements. But not able to understand how to execute them?

**URL:** https://forum.scylladb.com/t/scylla-introduces-json-support-to-select-and-insert-statements-but-not-able-to-understand-how-to-execute-them/1341
**Category:** ScyllaDB
**Created:** [February 28, 2024, 10:26am UTC](https://forum.scylladb.com/t/scylla-introduces-json-support-to-select-and-insert-statements-but-not-able-to-understand-how-to-execute-them/1341 "2024-02-28T10:26:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![subrato](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@subrato](https://forum.scylladb.com/u/subrato)
#### Post date: [February 28, 2024, 10:26am UTC](https://forum.scylladb.com/t/scylla-introduces-json-support-to-select-and-insert-statements-but-not-able-to-understand-how-to-execute-them/1341/1 "2024-02-28T10:26:15Z")

</div>

Hi @denesb,

I am not able to understand how to execute JSON queries. Any example would be helpful along with prerequisite queries.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/b3128f906881f5594b29e4351a20e3425f49fab2.png)

---

<div class="post-metadata">

### Author: ![Botond\_Denes](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/botond_denes/32/163_2.png) [@Botond\_Denes](https://forum.scylladb.com/u/Botond_Denes)
#### Post date: [February 29, 2024, 7:47am UTC](https://forum.scylladb.com/t/scylla-introduces-json-support-to-select-and-insert-statements-but-not-able-to-understand-how-to-execute-them/1341/2 "2024-02-29T07:47:59Z")

</div>

This works:

```auto
cqlsh> INSERT INTO ks.tbl_json JSON '{"scores": {"11": 112}, "id": 0}';

```

Note, that object keys are always string in `JSON`, even if in this case, the map represented by the `JSON` object is `map<int, int>`.
