The cron job should generate valid JSON

Issue #116 resolved
jmbt445 created an issue

Special characters, specifically the " character, should be escaped in JSON strings.

The following line in db/vimorgsources.json caused Vim to throw "E720: Missing colon" and "E605: Exception not caught":

""Go" Syntax":{"archive_name":"go.vim","script-type":"syntax","type":"archive","url":"http://www.vim.org/scripts/download_script.php?src_id=11790","version":"0.1","vim_script_nr":2867},

Note the unescaped " characters in the plugin name.

Comments (1)

  1. Log in to comment