Telegraf Configuration for Inserting Json Array to Influxdb

Hi,
I am using the JSONv2 parser in Telegraf to process Kafka consumer input. My input JSON is an array with the following structure:
[
{
“sensorData”: {
“deviceId”: “123456”,
“pressureInfo”: {
“absolutePressure”: 1013.25,
“temperature”: 25
}
}
}
]
I want the parser to handle this JSON and produce the following output in InfluxDB:

  1. Add deviceId (from sensorData.deviceId) as a tag with the key device_id.
  2. Add the entire sensorData object as a field with the key sensor_data, stored as a string.
  3. Add the absolutePressure value (from sensorData.pressureInfo.absolutePressure) as a field with the key absolute_pressure.

Desired Output in InfluxDB:

Tag: device_id = “123456”
Field: sensor_data = {"deviceId":"123456","pressureInfo":{"absolutePressure":1013.25,"temperature":25}}
Field: absolute_pressure = 1013.25

Could you please guide me on how to configure the JSONv2 parser to achieve this output?