JSON value number array addition/sum

Hello,

I have a JSON based api that has a value that returns an array of numbers, like this:

“numbers”:[0,1,15,0,23,15,0,0,0,0,2,19]

I want to make a sensor that adds those up into a single number. i.e. “totalNumbers”:75

Can someone please help me with this?

A REST Sensor employing the following template for its value_template.

{{ value_json.numbers | sum }}