tl;dr 結論から言うと全然難しくないです。 読み込む時はjsonのキーを指定してintやstringで読み込むか、jsonを丸ごと取得して構造体にunmarshalします。 書き込むときも構造体をmarshalしてSQLに渡すだけです。 テーブルの用意 ユーザ、データベースの作成は割愛します。 $ psql -U test_user test_db test_db=> CREATE TABLE jojo ( id serial, chapter int, data json ); INSERT INTO jojo VALUES (1, '{ "title": "ファントムブラッド", "character": { "hero": "ジョナサン・ジョースター" } }'); INSERT INTO jojo VALUES (2, '{ "title": "戦闘潮流", "characte