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 445 445: def op 446: JSONOp.new(self) 447: end
Cast as json
# File lib/sequel/extensions/pg_json.rb, line 120 120: def sql_literal_append(ds, sql) 121: super 122: sql << CAST_JSON 123: end
[Validate]