Ramp interview question

Was a simple string parse and calculate problem from a JSON