EncodeJSON (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
It isn't our job to document JSON, as it has nothing to do with ROBLOX. So let's just link to Wikipedia.
>NecroBumpist
Add Links to JSON. Add reference to its parent library.
Line 2: Line 2:
|name        = EncodeJSON
|name        = EncodeJSON
|arguments  = [[table]] <var>table_to_encode</var>
|arguments  = [[table]] <var>table_to_encode</var>
|returns    = [[string]] <var>json</var>
|returns    = [[string]] <var>encoded_table</var>
|description = Returns the table encoded as a JSON string.
|description = Returns the table encoded as a [[JSON]] string.
}}
}}
{{clear floats}}
{{clear floats}}
</onlyinclude>
</onlyinclude>
EncodeJSON() is a [[functions|function]] inside of the [[RbxUtility_(Library)|RbxUtility]] [[RbxLibrary|library]].


== See Also ==
== See Also ==
 
*[[JSON]]
*[http://en.wikipedia.org/wiki/JSON JSON]


[[Category:Functions]]
[[Category:Functions]]

Revision as of 22:29, 14 April 2012

EncodeJSON( table table_to_encode )
Returns string encoded_table
Description: Returns the table encoded as a JSON string.


EncodeJSON() is a function inside of the RbxUtility library.

See Also