Custom JSON Feeder

Hello,

I have a json file which is a list of json objects, where each object is a POST request body with lots of fields and nested fields/objects as well.

The problem:
When I use JSON feeder to parse the file it casts root of the object to Map and saves them separately in the session.

What I want to achieve:

The feeder functionality is exactly what I need since it provides the behavior I want, but I just want to have the entire JSON object saved in session as string and as 1 variable, for example: ${JSON_FILE_RECORD}

Thanks in advance for help.

You can try using jsonStringify: https://gatling.io/docs/current/session/expression_el/