skJson icon

skJson -----

Working with json in skript



skript-gson 2.0.2
skript-gson 2.0.2

[​IMG]

  • Hello everyone

Addon

  • ♾️ Fixed: ExprSkriptCollectionToJson.class
  • ♾️ Fixed: JsonElementType.class

Code (Text):
set {_json} to new json from string "{'A': {}, 'B': [], 'C': {'G': {}}}"
add false to {_json}                      # example 1
add "A:test;false" to {_json}          # example 2
add "C:G:test;A" to {_json}            # example 3
Code (Text):
# Show case 1
{"A": {}, "B": [], "C": {"G": {}}, "3": false}
# Show case 2
{"A": {"test": false}, "B": [], "C": {"G": {}}}
# Show case 3
{"A": {}, "B": [], "C": {"G": {"test": "A"}}}
  • ♾️ Fixed: MapJson.class
  • ♾️ Sanitized: All syntaxes..
Thank you all for your attention.
Sincerely Coffee.


FTW skript-gson

Full Changelog: https://github.com/cooffeeRequired/skript-gson/compare/2.0.0...2.0.2
----------, Dec 18, 2022
Resource Information
Author:
----------
Total Downloads: 3,591
First Release: Oct 31, 2022
Last Update: May 6, 2025
Category: ---------------
All-Time Rating:
4 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings