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 skript-json 1.1.0

Seamless JSON integration for Skript

  1. btk5h
    Supported Minecraft Versions:
    • 1.7, 1.8, 1.9, 1.10, 1.11
    Handle JSON objects using list variables. This addon was originally designed to work with Web APIs that use JSON for input and output, but it will also work well in any situation that requires parsing and serializing JSON.

    Documentation/Source - Releases

    Quickstart
    Code (Skript):
    1. set {_input} to "{""age"": 15, ""catchphrase"": ""heeyaw"", ""nicknames"": [""ftaang"", ""bleh""]}"
    2.  
    3. # {_output::*} can be any list variable
    4. copy json {_input} to {_output::*}
    5.  
    6. {_output::age} is 15
    7. {_output::catchphrase} is "heeyaw"
    8. {_output::nicknames::*} is "ftaang" and "bleh"
    9. {_output::nicknames::1} is "ftaang"
    10. {_output::nicknames::2} is "bleh"
    11.  
    12. # You can loop these variables just like any list variable!
    13. loop {_output::*}:
    14.     message "%loop-index% = %loop-value%"
    15. loop {_output::nicknames::*}:
    16.     message loop-value

Recent Updates

  1. skript-json 1.1.0

Recent Reviews

  1. RepublicanSensei
    RepublicanSensei
    5/5,
    Version: 1.1.0
    Awesome! btk5h is great developer <3