ID:2100053
 
Resolved
json_decode() didn't handle some strings correctly.
BYOND Version:510
Operating System:Windows 10 Pro 64-bit
Web Browser:Firefox 47.0
Applies to:Dream Daemon
Status: Resolved (510.1346)

This issue has been resolved.
var/ret = json_decode({"{"ReturnData":"<h1 style='color:green'>Hey</h1>\"}"})
world << html_encode(ret[ret[1]])

For some reason, this outputs "
<h1 style='olor:green'Hey</h1>
"
If you replace all instances of ' with \', it decodes properly.
Doesn't happen with double quotes
Good catch. This will be fixed in the next release.
Lummox JR resolved issue with message:
json_decode() didn't handle some strings correctly.