llList2Json
function ll.List2Json(JsonType: string, Values: {any}): stringConverts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY.
Parameters
-
JsonType(string) - Type is JSON_ARRAY or JSON_OBJECT.
-
Values({any}) - List of values to convert.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.List2Json().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llList2Json