SyntaxFix
Write A Post
Hire A Developer
Questions
You could use @> operator to do this something like
SELECT info->>'name' FROM rabbits WHERE info->'food' @> '"carrots"';