Wrap the JSONArray instance in an JSONOp, allowing you to easily use the PostgreSQL json functions and operators with literal jsons.
[Source]
# File lib/sequel/extensions/pg_json_ops.rb, line 437 437: def op 438: JSONOp.new(self) 439: end
Cast as json
# File lib/sequel/extensions/pg_json.rb, line 82 82: def sql_literal_append(ds, sql) 83: super 84: sql << '::json' 85: end
[Validate]