1query = """* | json | sum(thing_a[0])""" 2input = """ 3{"thing_a": [0, 1, 2]} 4{"thing_a": [5]} 5{"thing_a": []} 6{} 7{"thing_a": ["foo"]} 8""" 9output = """ 10_sum 11------------ 125 13""" 14error = """ 15""" 16