[DiscordArchive] Is the second one C++ code?
[DiscordArchive] Is the second one C++ code?
Archived author: Kaev • Posted: 2024-01-15T12:14:44.814000+00:00
Original source
https://github.com/gvx/Smallfolk
[Embed: GitHub - gvx/Smallfolk: A fast, robust, secure, richly-featured tab...]
A fast, robust, secure, richly-featured table serialisation library for Lua - GitHub - gvx/Smallfolk: A fast, robust, secure, richly-featured table serialisation library for Lua
https://github.com/gvx/Smallfolk
Archived author: Kaev • Posted: 2024-01-15T12:14:51.520000+00:00
Original source
AIO uses it anyways to read and write messages
Archived author: Kaev • Posted: 2024-01-15T12:15:09.939000+00:00
Original source
Maybe AIO has built in functions to send a table, i can't remember right now without checking
Archived author: Kaev • Posted: 2024-01-15T12:15:14.807000+00:00
Original source
if not, this is the solution
Archived author: Rymercyble • Posted: 2024-01-15T12:16:03.774000+00:00
Original source
even when i look at their example they have `"` in it so i fail to understand why it crashes in it on recieve
Archived author: Rymercyble • Posted: 2024-01-15T12:16:42.551000+00:00
Original source
maybe im supposed to send it as json
Archived author: Kaev • Posted: 2024-01-15T12:18:22.518000+00:00
Original source
I don't think Smallfolk uses json
Archived author: Kaev • Posted: 2024-01-15T12:18:30.724000+00:00
Original source
if you check the robust example it doesn't look like json
3}:{@4
1}},@3,@4,"fhtagn"
1}
Archived author: Kaev • Posted: 2024-01-15T12:18:38.416000+00:00
Original source
> {{{@2
3}:{@4
1}},@3,@4,"fhtagn"
1}
Archived author: Rymercyble • Posted: 2024-01-15T12:19:19.895000+00:00
Original source
```lua
print(smallfolk.dumps({"Hello", world = true}))
print(smallfolk.loads('{"foo":"bar"}').foo)
```