Math Expression can be anything. The variable or alpha character here in expression are also not fixed "3 + 2 * temp + humidity". The variable must look for json and get replaced by it's value from json.
environment = {"temp": 23, "humidity": 12, "airpressure":21.12}
expression = '3 + 2 * temp + humidity'
the response I am looking is as '3 + 2 * 23 + 12'.
as I just started exploring pyparsing
I couldn't find the solution.