Null and None on JSON dicts

Hello everyone!

We are currently working in a http request-response system.
We are sending a dict in a JSON format, however we have encounter that whenever we send a message it gets send with None writed instead of null and this makes the other system crash.

Is there any way of automatically changing the None to null inside of a dict so is universally compatible?

Is a bit strange because inside of the Ignition environment using None is perfectly ok, but the moment we send a message it doesn't work.

Any idea or tip is appreciated.
Thanks in advance!

How do you do that ? Are you converting to json yourself ? how ?

Just figure it out.

I simply did system.util.jsonEncode(<type 'dict'>) and it gives you a string but with JSON format, where the None are transformted to nulls