Null instead of undefined

Yep the debug node statuses work fine (as it's just a string of text like Dave mentioned). Debug tab has the other property "missing".

Edit: sorry missed half of your screenshot. Interesting indeed, so it's any JSON serialisation that has the issue. I think I've actually also run across this at work when serializing objects to JS frontend from a Java backend.

Ah, undefined is not valid JSON: https://stackoverflow.com/a/14946821

Well that explains a lot. You learn something every day. :slightly_smiling_face:

undefined is not a valid JSON type, so if you do a straight JSON stringify of an object, you won't get any properties whose value is undefined.

This is why the debug sidebar has to do a lot more work to display values beyond a smple stringify.

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.