Skip to content

JSON UTF 8 in the AutoHotKey

nexssp edited this page Jan 23, 2020 · 1 revision

This looks like standard **JavaScript **in the web browser!

(oHTML:=ComObjCreate("HTMLFile")).write("<!DOCTYPE html><html><head><meta http-equiv=""X-UA-Compatible"" content=""IE=edge""><meta charset=""utf-8"" /></head><body></body></html>")

MyObject:= oHTML.parentWindow.JSON.parse(JsonString)

JsonString:= oHTML.parentWindow.JSON.stringify(MyObject)
Clone this wiki locally