Expression JsonGet converting all values to strings (False alarm)

v8.1.27

I've just spent a while trying to diagnose why a condition in an if statement wasn't evaluating to true, and it turns out that it was due to the jsonGet expression function converting all values (e.g. ints/longs) into strings :confused: so of course "123" != 123

Are you sure?

This would surprise me a lot. You're positive it's not your JSON?

Positive Negative , I'll get some screenshots later today

Let me look into it more... it's probably me, or a different issue

Yep, my bad; I fixed a function to convert a tag document type value from a PyDocumentObjectAdapter to Py objects that, low and behold, was converting ints to strs, but it appears I hadn't yet copied the new version to this project.

2 Likes