Skip to content

tmplinshi/JSONEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published