Built in JSON would be valuable.
StrToObj()
ObjToStr()
JSON
Re: v2-thoughts Discussion
Also totally irrelevant.
AutoHotkey v2 wrote:AutoHotkey v2 aims to improve the usability and convenience of the language and command set by sacrificing backward compatibility.
Re: v2-thoughts Discussion
Hmmm... Can't tell if the irrelevant comment relates to the immediately preceding JSON thought or not.
Assuming it relates to something else...
These are two examples with files and xml for which a JSON equivalent "seems" useful:
So maybe:
I have tried a few of the JSON function suites with varying degrees of success because they all work differently. So IMHO it would cool if AHK_L could read and write standard JSON. So sorry if this the wrong section to suggest.
Assuming it relates to something else...
![Wink ;)](./images/smilies/icon_e_wink.gif)
Code: Select all
FileRead , varInRam , Filename
FileAppend , varInRam , Filename , Encoding
xmlVarInRam := ComObjCreate("MSXML2.DOMDocument.6.0")
xmlVarInRam.async := false
xmlVarInRam.load( xmlFilename )
xmlVarInRam.save( xmlFilename )
Code: Select all
JSONread , objectInRam , Filename
JSONappend , objectInRam , Filename
jsonObjectInRam.load( jsonFilename )
jsonObjectInRam.save( jsonFilename )
Re: v2-thoughts Discussion
My comment wasn't qualified with anything else, so obviously was in reference to the post immediately preceding it. Adding JSON-parsing support can be done at any time without breaking compatibility, so is irrelevant for v2.
Return to “AutoHotkey Development”
Who is online
Users browsing this forum: No registered users and 34 guests