Add an appropriate error for reading bad JSON arrays

* lisp/json.el (json-array-format): New error.
(json-read-array): Use it.
1 job for master in 54 minutes and 43 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #5001
test-all

00:54:43