AutoHotkey-JSON
JSON module for AutoHotkey (by cocobelgica)
AutoHotkey-SerDes
Serialize / de-serialize an AutoHotkey object structure (by cocobelgica)
AutoHotkey-JSON | AutoHotkey-SerDes | |
---|---|---|
11 | 4 | |
244 | 12 | |
- | - | |
0.0 | 10.0 | |
over 3 years ago | over 9 years ago | |
AutoHotkey | AutoHotkey | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AutoHotkey-JSON
Posts with mentions or reviews of AutoHotkey-JSON.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-20.
-
v2.0.0 (Stable) is out.
Well, one of the addendums is (native) JSON support, which I use all the time. And I mentioned in the 2nd question*. However, there are scripts that will add JSON support, one of them was written 8+ years ago... is not like there are no options.
-
Bible Expander AHK Script
For that to happen you need to include a JSON parsing library. It can be G33kDude's cJson.ahk or cocobelgica's JSON.ahk.
-
Get IP Location
sorry, i missed first line in script. you need to download JSON.ahk from https://github.com/cocobelgica/AutoHotkey-JSON and place in library folder in MyDocuments ```#include
-
Looping through a JSON object and detecting non-null parameters?
Coco created a JSON lib a while back. Give that a shot. You can make an object then for-loop through it.
-
Variable inside json not working.
Hm... Assuming you're using JSON.ahk from here, the code regarding that looks right - have you tried:
-
Writing Array to file for retrieval later
JSON.ahk
-
Select everything between qoutes from a heap of text.
Then, that is JSON so the best option is to use a JSON library, like cocobelgica's (or any other, there's a few other libraries and a COM method).
- Working with json data
-
API Consumption
In order to keep things as simple as possible I'm gonna use my WinHttpRequest wrapper and a #Warn-compatible version of G33kDude's Socket library. Though cocobelgica's JSON library is not necessary, might be easier working with the AHK native object it provides rather than the COM object I work with as it can't be iterated. Other option is to use the pre-release of cJson.ahk.
-
Scraping multiple variables
In the above example, I use CocoBelgica's JSON library to push the JSON response to an Autohotkey object. You can then retrieve the data you need from the object.
AutoHotkey-SerDes
Posts with mentions or reviews of AutoHotkey-SerDes.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-11.
-
Automagically read/write configuration files
SerDes is meant for (de)serialization. Which is completely different to load-as-object-save-reference.
-
Creating Array from Array of Sections
For example, cocobelgica SerDes function can be used both ways, although I haven't checked how strict it is on handling case.
-
Writing Array to file for retrieval later
JSON is a nice way to persist an object to disk, another option is SerDes() which has simpler parsing as is meant for ahk_string only ecosystem, plus it supports object references.
-
var_dump() equivalent in AHK 2.0?
I only use AHK_H for a specific project so I don't rely on its extra functionality, in my Standard Library I have a wrapper for SerDes(), the main selling point for me is that it has support for (circular) references.
What are some alternatives?
When comparing AutoHotkey-JSON and AutoHotkey-SerDes you can also consider the following projects:
cJson.ahk - AutoHotkey JSON library using embedded C for high performance
bitwarden-autotype - Bitwarden Auto-Type for Windows
Chrome.ahk - Automate Google Chrome using native AutoHotkey
AutoHotkey_H - AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
AutoUpdate - Library for AutoHotkey scripts