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.6.21

Working with json in skript

  1. Item Conversion in JSON (Form of Skript list) Supported!

    CoffeeRequired
    skJson 2.6.21⚠️
    Introduce
    Hello everyone.

    New conventors for json.

    • Fix small bugs, #18
    • Cleanup code
    • fix Typos
    Fixed.
    Code (Text):
    1.  
    2. command try:
    3.    trigger:
    4.        set {_test::*} to diamond sword named "&aA", apple, stone pickaxe
    5.        broadcast {_test::*}'s form with pretty print
    6.  
    7.        set {_test::item1} to diamond sword named "&aA"
    8.        set {_test::item2} to...
  2. Updated 2.6.2

    CoffeeRequired
    ->
  3. skJson 2.6.2 Support java 11, Automatic parsing

    CoffeeRequired
    skJson 2.6.2⚠️
    Introduce


    Hello everyone.

    - New conventors for json.
    - Adding automatic parsing.
    - Cleanup code
    - fix Typos


    From
    Code (Text):
    1. command test:
    2.     trigger:
    3.         set {_loc-json} to json from player's location
    4.         set {_loc} to {_loc-json} parsed as a location
    5.         teleport player to {_loc}
    To
    Code (Text):
    1. command test:
    2.     trigger:
    3.         set {_loc-json} to json from player's location
    4.         teleport player to {_loc-json}
    ...
  4. skJson (Mapping/Appending) 2.6.1

    CoffeeRequired
    skJson 2.6.1⚠️
    Introduce

    Hello everyone.
    Hotfixed issue #11 , also the #13
    Also was fixed all mapping / append / write issues.


    Please check SkriptHub or Wikipedia for syntax changes.
    ## ❌ If you found any bugs, feel free to post it.

    Sincerely, Coffee.

    Full Changelog: https://github.com/cooffeeRequired/skJson/compare/2.5.9...2.6.1
  5. skJson 2.5.9

    CoffeeRequired
    skJson 2.5.9 ⚠️

    Introduce

    Hello everyone.
    Fixed changers, for json you are now able to remove/add or set objects even with cached json.
    Added removing/setting for nested objects

    This error was related to this thread #8


    Version 2.5.9
    Example

    Code (Text):
    1.  
    2. on load:
    3.     set {_json} to json from string "{'A': [1,2,3,4,{'B':false}]}"
    4.     set json value "A[1]" of {_json} to true
    5.    
    6.     # Before {"A":[1,2,3,4,{"B":false}]}
    7.    
    8.     remove json value "A[4]:B"...
  6. skJson 2.5

    CoffeeRequired
    skJson 2.5 ⚠️
    Introduce


    Hello everyone.
    This is a big milestone for skJson addon (*skript-gson*)
    One of the first pieces of information is that it has been renamed from the current skript-gson to skJson. I renamed this addon because the gson in the name said little to anyone and was not as representative. thus skJson contains both json in the word and Skript (sk)

    I should also mention that support for older versions of minecraft...
  7. Updated AutoUpdaters. Skript-gson 2.1.0

    CoffeeRequired
    Hello everyone

    Hi there we have a couple of changes regarding the new json from the request, also changes in the Versioning Area and its automatic updates.

    Thank you all for your attention.
    Sincerely Coffee.

    Full Changelog:...
  8. skript-gson 2.0.4 - Changed internal object mapping

    CoffeeRequired
    skript-gson 2.0.4
    [​IMG]


    Hello everyone
    Changed internal object mapping for Items, now you are able to pull Item from mapped json as well
    Code (Text):
    1. [/FONT]
    2. command saveinv:
    3.     trigger:
    4.         set {inv} to json from player's inventory
    5.  
    6. command listinv:
    7.     trigger:
    8.         map {inv} to {_inv::*}
    9.         loop...
  9. skript-gson 2.0.3

    CoffeeRequired
    skript-gson 2.0.3[​IMG]

    • Hello everyone Addon


    Thank you all for your attention.
    Sincerely Coffee.
    FTW skript-gson

    Full Changelog:...
  10. skript-gson 2.0.2

    CoffeeRequired
    added - all json elements from %jsonelement%