system.util.jsonEncode/Decode locale indipendent

I am working with json and function system.util.jsonEncode/Decode , I had some problem to use because the system function are not independent by user locale. Expecialy when you work on dataset.

I partially resolved with the trick of set user locale to “en_US” before to use this functions and after reset the correct locale of user.

Is it possible to implement this directly in the function?


We probably won’t change the jsonEncode/decode functions at this point, for backwards compatibility reasons, but we have internal plans to introduce new JSON handling functions that work better across all Ignition systems.