SkillAgentSearch skills...

JSONEditor

JSONEditor & JsonBox()

Install / Use

/learn @tmplinshi/JSONEditor
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

AutoHotkey GUI using jsoneditor (https://github.com/josdejong/jsoneditor)

JSONEditor.ahk

Screenshot

JsonBox.ahk

(Require Jxon.ahk by CoCo)

JsonBox(ByRef json = "", title = "", mode = "view", gui_option = "w700 h560")

Parameters:

  • json: Json string or AHK object
  • title: Window title
  • mode: Value can be tree, view, form, code, text

Examples:

obj := { items: ["a", "b"], key1: "value2", key2: "value2" }
JsonBox(obj)
whr := ComObjCreate("WinHttp.WinHttpRequest.5.1")
whr.Open("GET", "https://httpbin.org/get?key=val")
whr.Send()

JsonBox(whr.ResponseText,, "view") ; Display the data in 'view' mode
JsonBox(whr.ResponseText)
MsgBox % whr.ResponseText

Related Skills

View on GitHub
GitHub Stars12
CategoryDevelopment
Updated2y ago
Forks3

Languages

AutoHotkey

Security Score

60/100

Audited on Dec 21, 2023

No findings