JSONEncode not properly encoding a dictionary

Hello everyone, I’m trying to encode a series of folders into a dictionary, which I haven’t had trouble with, and then into a JSON string for storage, however this is what I keep ending up with upon Encoding. Does anyone have any ideas as to why? I’m not sure whether this is a limitation of JSONEncoding or an error on my part. All I’m encoding is strings.

1 Like

JSON encoded tables can only store values that are numbers, booleans*, strings, or tables. If you try to store a table which contains any value other than that, it’ll be null.

Documentation here

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.