LibJson Library
For addon developers to encode LUA data structures in json format or decode strings into LUA data structures.Supports wstrings. So one should be able to encode GameData.Player.name, though please repo...
For addon developers to encode LUA data structures in json format or decode strings into LUA data structures.
Supports wstrings. So one should be able to encode GameData.Player.name, though please report unexpected results.
Example usage:
local json = LibStub("LibJson-1.0")
local d = {hello = "world"}
local d_json = json.encode(d)
local json_d = json.decode(d_json)
Message me on the RoR discord if you have issues.
- Status
- Approved
- Latest
- 2.2.1
- Game version
- 1.4.8
- Downloads
- 3,114
- Original author
- Johndon
2.2.1
stableLibstub version update
2.2.0
stableRemoved sparse array checking. This allows most tables that come from the event api to be encoded easily.
2.1.0
stableSome support for wstring.
2.0.0
stableOnly requires libstub instead of Ace
| Version | Channel | Status | Published | Size | |
|---|---|---|---|---|---|
| 2.2.1 | stable | Published | 12 Oct 2020 | 3 KB | |
| 2.2.0 | stable | Published | 11 Oct 2020 | 3 KB | |
| 2.1.0 | stable | Published | 30 Sep 2020 | 3 KB | |
| 2.0.0 | stable | Published | 30 Sep 2020 | 3 KB | |
| 1.1.1 | stable | Published | 29 Sep 2020 | 3 KB |
For addon developers to encode LUA data structures in json format or decode strings into LUA data structures
LibJson · 2 files
· by Johndon - LibStub (LibStub)
- Original author: Johndon
If this is your addon you can claim it.
Log in to claim it.
No comments yet.
Log in to comment.