Stack Overflow on json.encode?

I'm trying to use JSON, and when I encode a table:

1
2
3
4
5
6
7
print(json.encode(data));
 
-- Here is the table:
{
    sound = true,
    availableLevel = 0,
};
views:1474 update:2011/11/26 9:01:35
corona forums © 2003-2011