I need an option in the
Pre-request Script to sort my JSON request body keys alphabetically and also that should be done with nested objects and then stringify that object.
Only and only the keys (not values, arrays shouldn’t be touched ) of all objects (nested one too) inside needs to be sorted.
In Nodejs I use simply json-stable-stringify npm module that will do this function, but since postman doesn’t have that module in the sandbox.
Is there any other way to do that?