Since the server architecture defines the API, and the client must implement what the server defines, and since many servers are written in java, I find myself in a situation where I need to be able to send:
{“someValue”:null}
Unfortunately, it seems this is unsupported by the gatling API.
I know there is a configuration for the jackson object mapper which DISABLES serializing null values (the current perceived functionality).
I would like to ENABLE serializing null values.
Ah - I hadn’t implemented the serialization - as soon as you mentioned this I found the implementation of the serializer (I had thought gatling shipped with a default) and was able to modify it accordingly - thanks.