A couple of problems there:
In JSON, keys must be in double quotes (so must strings). Single quotes aren't allowed, and quotes are required.
In JSON, the top level must always be an object or an array. You've quoted a series of property initializers, which must be inside an object.
Here's the valid version of that:
{
"app": {"type": "app", "desc": "Application"},
"iso": {"type": "iso", "desc": "ISO Disk Image"},
"fla": {"type": "fla", "desc": "Adobe Flash Document"},
"dll": {"type": "dll", "desc": "Dynamic Link Library"}
}
Changes:
- Change all single quotes to double quotes.
- Put double quotes around the keys (
type
,desc
) that didn't have them. - Put the whole thing in
{}
so the top level is an object.