generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

what is JSONEncode and Decode used for

Previous Thread :: Next Thread 
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
09 Feb 2015 09:44 AM
wat


-abs
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
09 Feb 2015 09:44 AM
Encode tables to JSON format and Decode is to decode a JSON into a Table tha
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
09 Feb 2015 09:45 AM
Woops, Ingore the "tha"
Report Abuse
crazyman32 is online. crazyman32
Joined: 13 Apr 2008
Total Posts: 18027
09 Feb 2015 10:49 AM
JSON: JavaScript Object Notation

The way JavaScript's objects are represented is a very nice structure to store data. Therefore, many people have adopted the same style to store data sets.

For instance, if you had a Lua table that you wanted to save, you cannot just save the table itself. A database isn't going to understand that. Instead, you turn the table into a String value. Therefore, you convert the table into "JSON" which represents the table in string format.

I recommend googling JSON and reading up on it to get a better understanding. It's used heavily in web development too as an alternative to XML.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image