Parsing RAW JSON best practices?

William, hi-- just a quick question. How can I know when the JSON parser has completed its work?

The reason is that I have some bugs in my app that are stemming from subsequent actions being triggered before the JSON parsing has fully finished.

I imagined that the Empty state would return to being ‘yes’ after the internal loops had finished running, but it seems that it does not do so until the page is refreshed. So I can’t use Empty as a condition for subsequent workflows. Any other way to do it?

Currently I’m using a count of the number of new Things created by the parser (and matching this to the expected number of new Things). But for some reason sometimes the parser creates some duplicate Things, so the simple count isn’t sufficient.

Thanks for any ideas!