An open API service indexing awesome lists of open source software.

https://github.com/cooffeeRequired/skJson

About Script Addon for using Json (Gson) in script
https://github.com/cooffeeRequired/skJson

bukkit gson-library java minecraft skript skript-addon skript-language spigot spigot-plugin

Last synced: 4 months ago
JSON representation

About Script Addon for using Json (Gson) in script

Awesome Lists containing this project

README

        

![GitHub release](https://img.shields.io/github/release/SkJsonTeam/skJson?style=for-the-badge)
![GitHub issues](https://img.shields.io/github/issues-raw/SkJsonTeam/skJson?style=for-the-badge)
![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/SkJsonTeam/skJson.svg?style=for-the-badge)
![GitHub All Downloads](https://img.shields.io/github/downloads/SkJsonTeam/skJson/total?style=for-the-badge)
[![Discord](https://img.shields.io/discord/425192525091831808.svg?style=for-the-badge)](https://discord.gg/dsZq5Cs9fd)
![License](https://img.shields.io/github/license/SkJsonTeam/skJson?style=for-the-badge)
[![CodeFactor](https://www.codefactor.io/repository/github/cooffeerequired/skjson/badge)](https://www.codefactor.io/repository/github/cooffeerequired/skjson)


[//]: # (<- Header ->)


SkJson

Addon for handle JSON easily in SkriptLang


### Support for servers

| 📑 Spigot | 🔑 Paper | 🆘 Purpur |
|--------------------------------------|-------------------------------------- |--------------------------------------|
| Java 21 + | Java 21 + | Java 21 + |
| Minecraft 1.16.5 + | Minecraft 1.16.5 + | Minecraft 1.16.5 + |
| Skript 2.9.2 + | Skript 2.9.2 + | Skript 2.9.2 + |

## 🔑 Recommended Tools

* **[Visual Studio Code](https://code.visualstudio.com/download)**
* **[Skript Extension](https://marketplace.visualstudio.com/items?itemName=JohnHeikens.skript)**

## 🆘 Where Can I Get Help?

* **[Discord](https://discord.gg/dsZq5Cs9fd)**
* **[SkUnity](https://skunity.com/)**
* **[Email](mailto:[email protected])**

## ❓ What can SkJson do?

* create JSON from string and other sources, for example from various Bukkit objects such as `Location, Player, Entitiy, Inventory, and many more`
* it can also work with `.json` files, in the future it will also be able to work with `.jsonc` -> which are files that can contain comments.
* it can also report HTTP requests and send http responses json encoded.
* it can also work with `FileWatchers` which is an advantage when for example you have a file that changes the server like for example `ops.json` -> a file that contains Server Operators
* at this point SkJson can read this file and can update its cache with each change
* `SkJson` works with **`MemoryCache`** so it is very fast to write and read around `100-1000 us`
* `SkJson` allows to create `VirtualCachedJson` which is a type of storage something like `Script` variables, it serves as a dynamic storage for various things.
* `SkJson` also supports NBT thanks to **NBT-API**, so you won't lose NBT from given input when serializing.
* `SKJson` in the last line can serialize and deserialize almost everything you know in MC.

## 🌀 Get started
* Paste `Skjson.jar` into the `/plugins` folder
* * set what we need in `plugins/SkJson/config.yml`

## 📖 Wiki
* Let's learn about what SkJson is for and how to use it properly.
* In general, we could say that SkJson is very multifunctional. It contains some web request functionalities, and also handles strings that work with files.
* Additionally, it allows us to use a so-called cache.
* We will delve further into all these aspects as we learn more

* [**Wikipedia**](./get_started.md)

[](https://skripthub.net/docs/?addon=skJson)
[](https://docs.skunity.com/syntax/search/addon:skjson)
[](https://www.spigotmc.org/resources/skjson.106019/)