ReQL command: json

Command syntax

r.json(json_string) → value

Description

Parse a JSON string on the server.

Example: Send an array to the server.

r.json("[1,2,3]").run(conn)

© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
https://rethinkdb.com/api/ruby/json/