On Sat, Jun 18, 2022 at 9:43 PM Ihor Radchenko <yanta...@gmail.com> wrote: > > 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.
The JSON schema allows either: https://github.com/citation-style-language/schema/blob/5b8bbc824e026959417757d4ce4012a26b10e637/schemas/input/csl-data.json#L512 Bruce