[Pharo-users] NeoJSONParseError: invalid input: ' while parsing a Wikipedia exported article.

Offray Vladimir Luna Cárdenas offray.luna at mutabit.com
Sat Feb 8 02:37:44 EST 2020


Hi,

I'm trying to read the contents of a Wikipedia article that was exported
from there using Wikipedias JSON API.

The script I'm trying is:

NeoJSONReader fromString: 
'https://mutabit.com/repos.fossil/pharopedia/doc/tip/docs/wikipedia.org/wiki/en/Pharo/contents.json'
asUrl retrieveContents utf8Decoded

But I get "NeoJSONParseError: invalid input: '". As far as I can tell,
the file at [1] seems like valid JSON, as is the one that Wikipedia API
exports

[1]
'https://mutabit.com/repos.fossil/pharopedia/doc/tip/docs/wikipedia.org/wiki/en/Pharo/contents.json'

Could anybody point me to a solution?

Thanks,

Offray




More information about the Pharo-users mailing list