of     1   

Hedr0n
#182214190Saturday, January 23, 2016 6:11 AM GMT

This is possible yes? To take a table of data I need to save and encode it in Json then just save a massive string? Rather than 60 - 70 Async requests?
SunTzu16
#182214315Saturday, January 23, 2016 6:14 AM GMT

Yes, I believe so. There might be data limits and such, but it seems pretty hard to reach those. Also, I've noticed that JSON encodes brick colors and vector3's as null... I don't know if they work correctly or not when you decode. But for most things, a table encoded via JSON saved as a string should work fine.
128Gigabytes
#182214451Saturday, January 23, 2016 6:17 AM GMT

Just the the table to the datastore it JSONEncodes it for you when you save it and decodes it when you load it. Data limit still applies so if the JSON string saved is more than 65,536 it will do, well actually I have no clue what happens when a string is too large to save to the datastore.
SunTzu16
#182214557Saturday, January 23, 2016 6:19 AM GMT

Probably errors or something. You could use pcall() or whatever. Or maybe it returns something so you'll know if your string was too large. (Then maybe you could just split the table in half?)
Hedr0n
#182214731Saturday, January 23, 2016 6:23 AM GMT

Surely Json won't cap 60k I think I'll be fine
128Gigabytes
#182214858Saturday, January 23, 2016 6:26 AM GMT

I tested, it errors For some reason 2 ^ 16 is not the actually save size even though the wiki says it is. local testStore = game:getService("DataStoreService"):getDataStore("testStore") testStore:setAsync("testData", ("-"):rep((2 ^ 16) - 3)) Maybe a couple of the save spaces are used to save the datas type?
Hedr0n
#182215000Saturday, January 23, 2016 6:30 AM GMT

So what's the actual cap
128Gigabytes
#182215041Saturday, January 23, 2016 6:31 AM GMT

According to my test 65533 is fine 65534 errors

    of     1