By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version |
|---|
| PostgreSQL 14.10 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit |
SELECT 1
| desired_result | old_result |
|---|---|
| {"path": {"to": {"array": [{"key": "value"}]}}} | {"path": {"to": {"array": [{"key": "value"}, {"key": "value"}]}}} |
SELECT 1