Mmoniot
|
  |
| Joined: 12 Mar 2012 |
| Total Posts: 85 |
|
|
| 26 Apr 2015 12:22 PM |
| The wiki says data stores can save tables with certain limitations, but it is not so clear on them. What are the limitations of saved tables, such as what a table's keys and values can be. Can a table store another table? What does a mixed table precisely mean and how do I avoid them? |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 26 Apr 2015 12:23 PM |
A mixed table is a table containing at least two different values ex.
{1, "hi", true} |
|
|
| Report Abuse |
|
|
Mmoniot
|
  |
| Joined: 12 Mar 2012 |
| Total Posts: 85 |
|
|
| 26 Apr 2015 12:31 PM |
| So does that mean a data store cannot save that sort of table? |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 26 Apr 2015 12:34 PM |
http://wiki.roblox.com/index.php?title=JSONEncode
http://wiki.roblox.com/index.php?title=JSONDecode
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
Mmoniot
|
  |
| Joined: 12 Mar 2012 |
| Total Posts: 85 |
|
|
| 26 Apr 2015 12:45 PM |
| Oh, that helps a lot. I looked up JSON and data stores make sense now to me. I think I will just write my own Encoding/Decoding script to avoid several issues with tables in JSON. |
|
|
| Report Abuse |
|
|