There needs to be a comma between the "name" and "unit" entries.
Numbered Steps to Reproduce Problem:
Output the json
Get something like
{"name":"SendMaps""unit":"s","value":0.0354452,"calls":2012}
Code Snippet (if applicable) to Reproduce Problem:
world.Profile(PROFILE_START, "sendmaps", "json")
Expected Results:
non-malformed json
Actual Results:
malformed json
Does the problem occur:
Every time? Or how often?yes
In other games? unk
In other user accounts? unk
On other computers? unk
When does the problem NOT occur?
never
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.)
I mean technically the broken 1553 version probably
Workarounds:
regex/findreplace fixing it