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 113 113: def sql_literal_append(ds, sql) 114: super 115: sql << '::json' 116: end
[Validate]