Reading values for graph from a json string

i’m trying to set up a graph of temperature values, but the problem is that the values under entity_id = warehouse_temperature are json format:

{“t”:“31.00”,“h”:“32.00”}

how can i set up the query to use the values of t and h?

You can try this plugin https://grafana.com/grafana/plugins/simpod-json-datasource or you need to do transformation of your data before insert to your database.