
skJson by CoffeeRequired 
Working with json in skript
Events
1
Expressions
24
Effects
24
Conditions
12
Types
5
Sections
2
Structures
0
Total
68
Working with json in skript
Events
1
Expressions
24
Effects
24
Conditions
12
Types
5
Sections
2
Structures
0
Total
68
SkJson 2.9
It's finally here, we have finally seen a fully stable version of SkJson, i.e. version 2.9 which introduced SkJson in the biggest steam, A lot of changes have been made from the ground up.
We have created our own documentation page for SkJson, on this page we will be able to post thready where you can share your code https://www.skjson.xyz/snippests, we also have documentation for both versions with examples. The documentation is automatically updated! Let's get started on the changes!
Condition
* Json file exist
* Json file is cached
* Json file is listening
* Json has value/key[s][/s][s]
* Json is empty
* Type of json
Expressions
* Count value/key[s] in the Json.[/s][s]
* Get cached json
* Get index of key/value in (ListObject)
* Literals
* Loops
* New Json
* Pretty print
* Size of json object/array
* Skript variable to Json
* Value[s] of JSON[/s][s]
Effects
* Change json file contents
* Json (virtual) storage [lon-linked]
* Json to Skript variable list
* JsonWatcher - Start/Stop listening to file
* Link json file with defined cache
* New json file with/out content
* Save cached json to file
* Unlink or unload json file from cache
* Write content to json file
* link and load all json files from given folder
Events
* [url=https://skjson.xyz/documentation/beta#event-jsonwatchersave]Json watcher save[/url]
Sections
* Http requests (All methods includes)
* Webhooks (Discord/Web)
Functions
* b64 (Decoding from String to B64)
* [url=https://skjson.xyz/documentation/beta#function-function[/i]skjson_getdelim]skjsongtdelim (Get your defined delimiter)[/url]
Types
* JSON
* JSON-WEBHOOK
* JSON-ENUM ( WEBREQUEST METHODS )
Changers
* JSON-ARRAY
* JSON-OBJECT
Resolved Issues.
* #69
* #65
* #64
* #63
* #62
* #61
* #60
* #59
* #58
* #45
* #41
* #39
* #38
Special thanks...
I would like to thank everyone who participated in testing and trying out all sorts of features, and especially I would like to thank those who reported all the bugs!
Thank again! (@MinecraftNight4, @yhdev7935, @ExCorde, @Nocky, @welormit, @Envizar, @RedstoneGamer54)
What's Changed
* Update main from 2.8.6 to 2.9 by @SkJsonTeam in https://github.com/SkJsonTeam/skJson/pull/70
Full Changelog: https://github.com/SkJsonTeam/skJson/compare/2.8.6...2.9[/s][/s][/s]
SkJson 2.8 (latest 2.8.6) Legacy
This is legacy version fro Skript 2.6.3 +
We have created our own documentation page for SkJson, on this page we will be able to post thready where you can share your code https://www.skjson.xyz/snippests, we also have documentation for both versions with examples. The documentation is automatically updated! Let's get started on the changes!
Condition
* Json file exists
* Json file is cached
* Json file is empty
* Json file is listening
* Json has value/key
* Json is empty
* Type of json
Expressions
* All cached jsons
* Array or List formatted to JSON.
* Count of objects/phrases
* Elements/Values of the json
* Get cached json
* Get last response
* Json size of given Json
* New json
* Pretty json
Effects
* Execute a http request
* JsonWatcher - Start listening to file
* JsonWatcher - Stop listening to file
* Link json file with defined cache.
* Map json to skript list
* New json file
* Save cached json to file
* UnLink or Unload json file
* Write json file with contents
* change json file
* link and load all json files from given folder
Functions
* jsonfile
Types
* json element
* json file
Changers
* Default changer of skJson (SET/REMOVE/ADD)
Resolved Issues.
* #71
* #64
* #63
* #42
* #41
* #39
* #38
* #37
* #24
* #22
* #21
* #20
* #19
* So one...
Special thanks...
I would like to thank everyone who participated in testing and trying out all sorts of features, and especially I would like to thank those who reported all the bugs!
Thank again! (@MinecraftNight4, @yhdev7935, @ExCorde, @Nocky, @welormit, @Envizar, @RedstoneGamer54)
@!Legacy
SkJson 2.9
It's finally here, we have finally seen a fully stable version of SkJson, i.e. version 2.9 which introduced SkJson in the biggest steam, A lot of changes have been made from the ground up.
We have created our own documentation page for SkJson, on this page we will be able to post thready where you can share your code https://www.skjson.xyz/snippests, we also have documentation for both versions with examples. The documentation is automatically updated! Let's get started on the changes!
Condition
* Json file exist
* Json file is cached
* Json file is listening
* Json has value/key[s][/s][s]
* Json is empty
* Type of json
Expressions
* Count value/key[s] in the Json.[/s][s]
* Get cached json
* Get index of key/value in (ListObject)
* Literals
* Loops
* New Json
* Pretty print
* Size of json object/array
* Skript variable to Json
* Value[s] of JSON[/s][s]
Effects
* Change json file contents
* Json (virtual) storage [lon-linked]
* Json to Skript variable list
* JsonWatcher - Start/Stop listening to file
* Link json file with defined cache
* New json file with/out content
* Save cached json to file
* Unlink or unload json file from cache
* Write content to json file
* link and load all json files from given folder
Events
* [url=https://skjson.xyz/documentation/beta#event-jsonwatchersave]Json watcher save[/url]
Sections
* Http requests (All methods includes)
* Webhooks (Discord/Web)
Functions
* b64 (Decoding from String to B64)
* [url=https://skjson.xyz/documentation/beta#function-function[/i]skjson_getdelim]skjsongtdelim (Get your defined delimiter)[/url]
Types
* JSON
* JSON-WEBHOOK
* JSON-ENUM ( WEBREQUEST METHODS )
Changers
* JSON-ARRAY
* JSON-OBJECT
Resolved Issues.
* #69
* #65
* #64
* #63
* #62
* #61
* #60
* #59
* #58
* #45
* #41
* #39
* #38
Special thanks...
I would like to thank everyone who participated in testing and trying out all sorts of features, and especially I would like to thank those who reported all the bugs!
Thank again! (@MinecraftNight4, @yhdev7935, @ExCorde, @Nocky, @welormit, @Envizar, @RedstoneGamer54)
What's Changed
* Update main from 2.8.6 to 2.9 by @SkJsonTeam in https://github.com/SkJsonTeam/skJson/pull/70
Full Changelog: https://github.com/SkJsonTeam/skJson/compare/2.8.6...2.9[/s][/s][/s]
SkJson 2.9
It's finally here, we have finally seen a fully stable version of SkJson, i.e. version 2.9 which introduced SkJson in the biggest steam, A lot of changes have been made from the ground up.
We have created our own documentation page for SkJson, on this page we will be able to post thready where you can share your code Snippets, we also have documentation for both versions with examples. The documentation is automatically updated! Let's get started on the changes!
More here!
https://github.com/SkJsonTeam/skJson/releases/tag/2.9
SkJson 2.8.6
Fixed several issue with Paper/Purpur and skript 2.7.0 beta.
Fixed nulls elements by (SET/ADD) new element to JsonArray/JsonObject
Add loading json files from folder to the cache
https://github.com/SkJsonTeam/skJson/releases/tag/2.8.6
https://github.com/SkJsonTeam/skJson/pull/50
Full Changelog: https://github.com/SkJsonTeam/skJson/compare/2.8.4...2.8.5
Thank everyone for their support for ideas
Sincerely coffeeRequred.
❤>"
SkJson 2.8.3
Doc's updated (SkUnity, SkriptHub)
Skript version:
A lot of changes have been made, practically the whole addon is redesigned for performance reasons, some features are added but please read more on Github
Thanks CoffeeRequired!
skJson 2.7.0⚠️
Introduce
Hello everyone.
- Fix small bugs
- Fixed bundles
- Cleanup code
- fix Typos
[h3]Example[/h3]
{
"items": [
{"==":"org.bukkit.inventory.ItemStack","v":3218,"type":"APPLE","meta":{"==":"ItemMeta","meta-type":"UNSPECIFIC","display-name":"{\"extra\":[{\"bold\":false,\"italic\":false,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false,\"color\":\"white\",\"text\":\"Tomate\"}],\"text\":\"\"}","custom-model-data":1}},
{"==":"org.bukkit.inventory.ItemStack","v":3218,"type":"APPLE","meta":{"==":"ItemMeta","meta-type":"UNSPECIFIC","display-name":"{\"extra\":[{\"bold\":false,\"italic\":false,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false,\"color\":\"white\",\"text\":\"Tomate2\"}],\"text\":\"\"}","custom-model-data":1}},
{"==":"org.bukkit.inventory.ItemStack","v":3218,"type":"APPLE","meta":{"==":"ItemMeta","meta-type":"UNSPECIFIC","display-name":"{\"extra\":[{\"bold\":false,\"italic\":false,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false,\"color\":\"white\",\"text\":\"Tomate3\"}],\"text\":\"\"}","custom-model-data":1}}
],
"nums": [
1,
2,
3,
0
]
}
skJson 2.6.21⚠️
Introduce
Hello everyone.
New conventors for json.
skJson 2.6.2⚠️
Introduce
Hello everyone.
- New conventors for json.
- Adding automatic parsing.
- Cleanup code
- fix Typos
From
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
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
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 server has been added. Since version 1.8.8 this addon is able to work.
I must also mention that the kernels for file handling and json serialization have been redesigned. For example, you can now serialize nbt and or entities.
A lot of syntax has been modified and simplified. one of my favorites is the Append effect, here is an example
https://github.com/cooffeeRequired/skript-gson/compare/2.0.4...2.1.0[/URL]>"
added - all json elements from %jsonelement%
New release of skript-gson it's out. 2.0.0 Fixed all known mapping bugs, also added SkriptTypes and Bukkit type conversion, also Inventory. Changed functionality and loaded Json as a custom ID, etc. https://skripthub.net/docs/?addon=skript-gson https://github.com/cooffeeRequired/skript-gson/releases/tag/2.0.0
[quote][/quote] [quote][/quote]
https://github.com/cooffeeRequired/skript-gson/releases
Skript-Gson 1.2.0
Hello everyone
This patch won't please some of you, mainly because after reaching the 50th download milestone we noticed that few people know how Non-Literal Json means
So we decided to remove this feature and work on improvements in putting and adding to the Json file/variable.
The last version is rather a mess and so this version will be cleaned of all necessities plus the examples will be corrected so that the layman can understand them
Format
➕ Finished:
❌ Removed:
➕ Added: serialization\deserialization for
Expressions
➕ Finished:
➕ Added:
➕ Added:
♾️ Change/Fix:
Effects
♾️ Planed:
unload json file [id] %string%
save json file [id] %string%
♾️ Planed-Rework:
♾️ Planed-Rework:
Conditions
➕ Added:
%jsonelement% has list (:keys|:values) %objects%
♾️ Planed-Rework:
[a] value %string% in %jsonelement% is string
[a] value %string% in %jsonelement% is integer
[a] value %string% in %jsonelement% is boolean
[a] value %string% in %jsonelement% can be parsed
Thank you all for your attention. \
Sincerely Coffee.
FTW *Skript-Gson*
*>"
Hello everyone
This patch fixes bugs #1, #2
and also fixes a syntax error where you couldn't use variables for example in
https://github.com/cooffeeRequired/skript-gson/releases/tag/1.1.1
https://github.com/cooffeeRequired/skript-gson/releases/tag/1.1.0
https://github.com/cooffeeRequired/skript-gson/compare/1.0.2-Beta...1.1.0>"
Check out : https://skripthub.net/docs/?id=8183