Re: JSON Cassandra 2.2 - insert syntax

2015-06-01 Thread Zach Kurey
e": 78747,"phones": [2101234567]}}}' expecting ')' (INSERT > INTO users JSON ['{"id": 123,"name": "jbellis","address": {"home": > {"street": "123 Cassandra Dr","city": "Austin&

Re: JSON Cassandra 2.2 - insert syntax

2015-06-01 Thread Zach Kurey
Looks like you have your use of single vs. double quotes inverted. What you want is: INSERT INTO users JSON '{"id": 123,"name": "jbellis","address": {"home": { "street": "123 Cassandra Dr","city": "Austin","zip_code": 78747,"phones": [ 2101234567]}}}'; HTH On Mon, Jun 1, 2015 at 6:03 PM, Miche