At the moment I have multiple arrays inside an object containing different pieces of data.
The issue is that the JSON is invalid and I am not sure who to correct it.
Here is my current code:
{
    "cars": {
        [{
            "model": 'test'
        }],
        [{
            "model": 'test2'
        }]
    }
};
Any help would be appreciated!
{"cars": [{"model":"test"},{"model":"test2"}]}is valid JSON.key:valuepairs. Your second array is not a part of a pair.