clear markdown compare help best fiddles feedback
clear markdown donate comments/suggestions/bugs a leap of faith? bible365 diddy dollings
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 2805502 fiddles created (40748 in the last week).

CREATE OR REPLACE FUNCTION fn_get_json() RETURNS text AS $$ DECLARE ite text; BEGIN select * into ite from json_object('{1}','{1}'); return ite; END $$ LANGUAGE 'plpgsql';
 hidden batch(es)

select * from fn_get_json();
{"1" : "1"}
 hidden batch(es)