libraries:json

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
libraries:json [2024-03-02 00:41] – [Libraries] Update list geeklibraries:json [2024-03-07 13:46] (current) – Remove subheader to improve embedded page appearance geek
Line 1: Line 1:
-===== JavaScript Object Notation (JSON=====+===== JSON =====
  
-JavaScript Object Notation (referred to as JSON) is a common text based format for writing objectsfor example ''[1, 2, 3]'' or ''{"a": 1, "b": 10}''. +JSON (JavaScript Object Notation) is a lightweight data interchange format widely used for exchanging data between a server and a client, or between different components of an applicationWhile AutoHotkey is primarily known for its automation capabilitiesthird-party libraries offer powerful options for working with JSON data.
- +
-AHK object syntax is very close to JSON syntaxhowever, JSON requires field names (like ''"a"'' in the previous example) to be in quotes, and allows new lines to be started nearly anywhere. +
- +
-The traditional operations for JSON are "load"/"parse" and "dump", where loading translates JSON text into an object, and dump translates an object into JSON text. +
- +
-ggg +
-==== Libraries ====+
  
   * [[https://github.com/cocobelgica/AutoHotkey-JSON|JSON.ahk [v1]]] by [[user:cocobelgica]] - The standard JSON library for AHKv1.   * [[https://github.com/cocobelgica/AutoHotkey-JSON|JSON.ahk [v1]]] by [[user:cocobelgica]] - The standard JSON library for AHKv1.