JSON: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Extension|extension_img=JSON.png|extension_desc=Blocks for handling JSON objects and Arrays.|link=*[https://github.com/PenguinMod/PenguinMod-Vm/raw/develop/src/extensions/jg_json/index.js '''PenguinMod''']}} |
|||
The '''JSON''' extension is an extension in [[PenguinMod]]. |
The '''JSON''' extension is an extension in [[PenguinMod]]. |
Latest revision as of 23:32, 30 May 2024
JSON | |
---|---|
Description | Blocks for handling JSON objects and Arrays. |
Link | *PenguinMod |
The JSON extension is an extension in PenguinMod.
Blocks
- is json () valid?
- get key () from ()
- get path () from ()
- set () to () in ()
- in json () delete key ()
- get all values from json ()
- get all keys from json ()
- json () has key ()?
- is array () valid?
- create an array from text () with delimeter ()
- create text from array () with delimeter ()
- in array () add ()
- add items from array () to array ()
- add items from array () and array () to array ()
- in array () delete ()
- reverse array ()
- in array () insert () at ()
- in array () set () at ()
- in array () get ()
- in array () get index of ()
- in array () from () get index of ()
- length of array ()
- array () contains ()?
- flatten nested array () by () layers
- in array () get all items from () to ()
- is array () empty?
Trivia
- All blocks in this extension are reporter blocks or boolean blocks.