使用 JSON 字段将转义双引号插入 Postgres table

Insert escaped double quotes into Postgres table using JSON field

我正在尝试插入一个字符串化的 JSON 数据,它看起来像,

create table test (exif jsonb);    
insert into test values ('{"name": "maddy", "about": "saying "something" is always good"}');

我可以使用如下反斜杠方法插入数据,

insert into test values ('{"name": "maddy", "about": "saying \"something\" is always good"}');

并且输出也有反斜杠,如下所示,

select * from test
{"name": "maddy", "about": "saying \"something\" is always good"}

但是,我怎样才能插入这种格式的数据 {"name": "maddy", "about": "saying "something" is always good"}。可以吗,请各位大神给个建议

经过长时间的观察,无法插入带有转义双引号的数据。插入后会实现select方法。