Pg with Sinatra and jsonb

pg with Sinatra - does pg support jsonB ? could not find any docs on
this - can we use 9.4 operators to get back hash ?