1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon skJson 2.7,0

Working with json in skript

  1. skript-gson 2.0.2

    CoffeeRequired
    skript-gson 2.0.2

    [​IMG]

    • Hello everyone

    Addon

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

    Code (Text):
    1. set {_json} to new json from string "{'A': {}, 'B': [], 'C': {'G': {}}}"
    2. add false to {_json}                      # example 1
    3. add "A:test;false" to {_json}          # example 2
    4. add "C:G:test;A" to {_json}            # example 3
    Code (Text):
    1. # Show case 1
    2. {"A": {}, "B": [], "C": {"G": {}}, "3": false}
    3. # Show case 2
    4. {"A": {"test": false}, "B": [], "C": {"G": {}}}
    5. # Show case 3
    6. {"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
Return to update list...