File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
content/en-us/reference/engine/classes Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -238,9 +238,12 @@ methods:
238238 - The value `nil` is never generated.
239239 - Cyclic table references cause an error.
240240
241- This method allows values such as `inf` and `nan` which are not valid
242- JSON. This may cause problems if you want to use the outputted JSON
243- elsewhere.
241+ This method allows values such as `inf` and `nan` which are not valid
242+ JSON. This may cause problems if you want to use the outputted JSON
243+ elsewhere.
244+
245+ This method can also take a `Datatype.buffer`, which will compress and
246+ encode the buffer to Base64, before turning it into a JSON object.
244247
245248 To reverse the encoding process and decode a JSON object, use the
246249 `Class.HttpService:JSONDecode()` method.
You can’t perform that action at this time.
0 commit comments