{"id":"spiraljng/smallfork","name":"smallfork","scope":"spiraljng","platform":"roblox","description":"A blazing fast LuaU seralizer, built off of the ancient Smallfolk Lua serializer. Designed for a less-bloated alternative to other LuaU serializers.","version":"2.0.3","latest":"2.0.3","versions":["1.0.0","1.0.1","2.0.2","2.0.3"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{},"integrity":"25a01f44be6bfadcde6710dbaad7ef202b7bd8e8ab68cf7906e4304ab155e76b","likes":0,"downloads":0,"install":"forest install spiraljng/smallfork","url":"https://forest.dev/p/roblox/spiraljng/smallfork","files":"https://api.forest.dev/ai/package/roblox/spiraljng/smallfork/files","readme":"Smallfork\n=========\n\nSmallfork is a reasonably fast, robust, richtly-featured table serialization library for LuaU, forked from [Smallfolk](https://github.com/gvx/Smallfolk). It was specifically forked for serializing remote packets, but could be used anywhere.\n\nYou use, distribute and extend Smallfork under the terms of the MIT license.\n\nUsage\n-----\n\nSmallfork is very simple and easy to use:\n\n```luau\nlocal Smallfork = require(\"Path.to.Smallfork\")\n\nprint(Smallfork.dumps({Hello = \"World\", Foo = 1234567890, Bar = true, Red = Color3.new(1, 0, 0), Home = Vector3.new(1, 2, 3)}))\nprint(Smallfork.loads('{\"Hello\":\"World\",\"Home\":v1,2,3,\"Red\":k1,0,0,\"Bar\":t,\"Foo\":1234567890}'))\n-- prints:\n-- {\"Hello\",\"world\":t}\n-- bar\n```\n\nSupported Types\n---------\n\n- string (Escaped supported)\n- number (integer, float, leading dot)\n- boolean\n- array\n- dictionary\n- nested array/dictionary\n- Vector3\n- CFrame\n- Circular reference loops","readmeTruncated":false}