Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanjosolutions/luaserialization
A library for serialization.
https://github.com/sanjosolutions/luaserialization
wow wow-addon wow-addon-lib
Last synced: 5 days ago
JSON representation
A library for serialization.
- Host: GitHub
- URL: https://github.com/sanjosolutions/luaserialization
- Owner: SanjoSolutions
- License: unlicense
- Created: 2022-12-22T22:04:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T17:16:43.000Z (about 1 year ago)
- Last Synced: 2024-05-01T19:25:55.268Z (8 months ago)
- Topics: wow, wow-addon, wow-addon-lib
- Language: Lua
- Homepage: https://www.patreon.com/addons_by_sanjo
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Serialization
A library for serialization. This library can save add-on developers some work.
## Functions included
**High-level APIs:**
* **Serialization.serialize** / **Serialization.serializeTable**: a function that serializes the given table to a string.
* **Serialization.valueToString**: a function which serializes the given value to a string.**Lower-level APIs:**
* **Serialization.tableToString**: a function which serializes the given table to a string.
* **Serialization.makeString**: a function which creates a serialized string from given text.
* **Serialization.tableToStringWithIndention**: a function which converts a table to a string.
* **Serialization.arrayToStringWithIndention**: a function which converts an array to a string.
* **Serialization.keyValueTableToStringWithIndention**: a function which converts a key-value table to a string.
* **Serialization.makeMultiLineString**: a function which makes a multi-line string.
* **Serialization.createClosingBracketOfLevel**: a function which creates a closing bracket of given level.
* **Serialization.createOpeningBracketOfLevel**: a function which creates an opening bracket of given level.
* **Serialization.indent**: a function which indents a string.
* **Serialization.indentLine**: a function which indents a line.