---
title: "JsonBackedStorage - s&box library"
description: "About JsonBackedStorage\n\nThis library adds a basic Json Backed storage system for data.\n\nIt currently provides 1 class which has 4 functions.\n\nThe class Storage which takes a string of what you want your storage to be named.\n\nThe SetObject function takes a name for your \"table\" and a \"index\" in that table to store an object.\n\nThe GetObject function takes a table and index and returns the object.\n\nThe Load function loads the storage from disk.\n\nThe Commit function, commits the storage to disk."
canonical: "https://sbox.watch/zh-cn/libraries/jwgtechs/jsonbackedstorage/"
generated_at: "2026-11-27T14:25:25.660Z"
---

# JsonBackedStorage

暂无简介。

- 类型: 库
- 标识符: jwgtechs.jsonbackedstorage
- 创作者: jwgtechs
- 规范地址: https://sbox.watch/zh-cn/libraries/jwgtechs/jsonbackedstorage/
- Markdown: https://sbox.watch/zh-cn/libraries/jwgtechs/jsonbackedstorage/index.md
- sbox.game: https://sbox.game/jwgtechs/jsonbackedstorage/
- 生成时间: 2026-11-27T14:25:25.660Z

## 统计

- 24小时热度: +0
- Terry 评分: --
- 收藏: 0
- 好评: 0
- 差评: 0
- 更新时间: 2023年8月25日
- 创建时间: 2023年8月18日
- 大小: 10.7 KB
- 文件: 3


## 描述

About JsonBackedStorage

This library adds a basic Json Backed storage system for data.

It currently provides 1 class which has 4 functions.

The class Storage which takes a string of what you want your storage to be named.

The SetObject function takes a name for your "table" and a "index" in that table to store an object.

The GetObject function takes a table and index and returns the object.

The Load function loads the storage from disk.

The Commit function, commits the storage to disk.
