Skip to content
virtualWinter edited this page Aug 31, 2025 · 1 revision

JSON

The storage-json module provides a simple way to interact with JSON files.

Usage

// Initialize the JSON handler
Json<MyObject> json = new Json<>("data.json", MyObject.class);
json.load();

// Get the data
MyObject data = json.getData();

// ... perform operations with the data

// Save the data
json.save();

Clone this wiki locally