You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/wire/client/e2descriptions.lua
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1456,10 +1456,16 @@ E2Helper.Descriptions["vonEncode(r)"] = "Encodes an array into a string using vO
1456
1456
E2Helper.Descriptions["vonEncode(t)"] ="Encodes a table into a string using vON"
1457
1457
E2Helper.Descriptions["vonError()"] ="Returns the last von error"
1458
1458
1459
-
-- E2Helper.Descriptions["jsonDecode(s)"] = "Decodes a string into an array using json"
1460
-
-- E2Helper.Descriptions["jsonEncode(t)"] = "Encodes a table into a string using json"
1461
-
-- E2Helper.Descriptions["jsonEncode(tn)"] = "Encodes a table into a string using json"
1462
-
-- E2Helper.Descriptions["jsonError()"] = "Returns the last json error"
1459
+
E2Helper.Descriptions["jsonDecode(s)"] ="Decodes a string into an array using json"
1460
+
E2Helper.Descriptions["jsonDecodeTable(s)"] ="Decodes a string into a table using json"
1461
+
E2Helper.Descriptions["jsonEncode(r)"] ="Encodes an array into a string using json"
1462
+
E2Helper.Descriptions["jsonEncode(rn)"] ="Encodes an array into a string using json"
1463
+
E2Helper.Descriptions["jsonEncode(t)"] ="Encodes a table into a string using json"
1464
+
E2Helper.Descriptions["jsonEncode(tn)"] ="Encodes a table into a string using json"
1465
+
E2Helper.Descriptions["jsonEncodeExternal(t)"] ="Encodes a table into a string using json, in a form that is suitable to be exported to external resources. Unfortunately, arrays are ignored because E2 contains many ambiguous types, and arrays don't keep track of those types. You will have to convert your array to a table manually before encoding it."
1466
+
E2Helper.Descriptions["jsonEncodeExternal(tn)"] ="Encodes a table into a string using json, in a form that is suitable to be exported to external resources. Unfortunately, arrays are ignored because E2 contains many ambiguous types, and arrays don't keep track of those types. You will have to convert your array to a table manually before encoding it."
1467
+
E2Helper.Descriptions["jsonDecodeTableExternal(s)"] ="Decodes a string into a table using json"
1468
+
E2Helper.Descriptions["jsonError()"] ="Returns the last json error"
1463
1469
1464
1470
-- http
1465
1471
E2Helper.Descriptions["httpCanRequest()"] ="Returns whether you can make a new request (delay has been met or previous request timed out)"
0 commit comments