I was using the MediaWiki API, and got a successful responseText. However, it’s in a giant string-list. It looks sort of like this (same idea, but without the length):
How do I convert this strange string into a list?
EDIT: I ended up using
eval("globalResponse = "+globalResponse);
Is there a better way to do this?