|
|
(3 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| RbxUtility is a [[RbxLibrary]] that provides functions for various uses. It contains a JSON encoder and a JSON decoder, which can be used to store tables as strings and convert them back to tables, but also some other useful functions that can be useful for different things.L
| | #redirect [[RbxUtility (Library)]] |
| | |
| ==The API==
| |
| | |
| {{User:JulienDethurens/Sandbox
| |
| |name = EncodeJSON
| |
| |arguments = [[table]] table_to_encode
| |
| |returns = [[string]] encoded_table
| |
| |description = Returns a string composed of argument table in JSON data format.
| |
| |library = RbxUtility
| |
| }}
| |
| | |
| {{clear floats}}
| |
| | |
| {{User:JulienDethurens/Sandbox
| |
| |name = DecodeJSON
| |
| |arguments = [[string]] encoded_table
| |
| |returns = [[table]] decoded_table
| |
| |description = Returns a table with all parsed JSON values.
| |
| |library = RbxUtility
| |
| }}
| |
| | |
| {{clear floats}}
| |
| | |
| '''NOTE: There is also a MakeWedge function, but it shouldn't be used. Instead, use the [[AutowedgeCell_(Method)|AutowedgeCell]] or [[AutowedgeCells_(Method)|AutowedgeCells]] method of [[Terrain]].'''
| |
| | |
| ==See Also==
| |
| *[[RbxLibrary]]
| |
| *[http://www.roblox.com/RbxUtility-item?id=60595411 RbxUtility]
| |