- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2025
11:46 AM
If you want to use JSON, then for some of those entries that expect arrays, you may need to use a hash to fake an array by specifying the index of the array as the key of the object. I'm typing this from memory without testing, so I might have something off slightly. If you needed more than one element in the array, you would create a "1" object and a "2" object.
{
"quiz_questions": { "0": {"answer": 1108, "id": 6} },
...
}