system.util.jsonEncode encodes floating point numbers to string

Yes tried this and it doesn't work.

The work arounds I came up with where to either:

  1. Store the Siemens PLC tag structure as a string instead of a document and use the native json.loads/dumps function for making modifications to the string.

  2. Read the document tag and convert to a string before using json.loads/dumps.

I'd very much like to see a new perspective component for reading and writing to json tags. Something that can accept any arbitrary nested json data structure and display it in a nice way. I came up with this but I expect that my scripting is not too efficient.

image