Wrap the JSONHash 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 366 366: def op 367: JSONOp.new(self) 368: end
Cast as json
# File lib/sequel/extensions/pg_json.rb, line 118 118: def sql_literal_append(ds, sql) 119: super 120: sql << CAST_JSON 121: end
[Validate]