code: def test_jinja2_tojson(obj, expected):
      res = jinja2.Template("{{ obj|tojson }}").render(obj=obj)
      assert res == expected
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_jinja2_tojson(obj, expected) without return types