I think it is the following:
json.lighthouseResult.categories.performance.score
Returns a decimal with 1 as maximum. So you have to multiply with 100 to get the percentage. Works for me.. However I don't seem to get the same value every time. It fluctuates...