world.Profile can produce malformed JSON, specifically JSON that has no value in a key:value pair. It is unclear to me as to why this happens, but I would assume that a simple sanity checking for output values could be implemented.
Example of malformed JSON output:
Numbered Steps to Reproduce Problem:
Unfortunately I do not have a strong indicator of when this happens, I only noticed it when processing profiler data.
Code Snippet (if applicable) to Reproduce Problem:
Does the problem occur:
Every time? Or how often? Uncertain
In other games? n/a
In other user accounts? n/a
On other computers? Yes
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
n/a (potentially use Regex parsing to detect and correct errors, something I'll likely end up doing)