David Lukeš <dafydd.lu...@gmail.com> writes:

> I recently started to get errors like the following:
>
> Error during redisplay: (jit-lock-function 544) signaled
> (wrong-type-argument "Argument is not a string or a secondary string:
> 2007")
>
> This patch makes them go away:
>
> -                                        (caar date))
> +                                        (number-to-string (caar date)))

Can you provide an example json file demonstrating the problem?
I suspect that multiple json formats may be available in the wild. Some
parsed as a list of strings and some parsed as a list of numbers.

You patch may fix the former but break the latter.

Best,
Ihor

Reply via email to