Skip to content

Latest commit

 

History

History

jsonreader

To get the PDF:

Run sp on the command line inside this directory.


A generic and flexible JSON typesetter

This example shows how to use the Lua pre-processor (filter). It converts any JSON file into an XML file suitable as an input for the speedata Publisher. The data.xml file gets generated by the json2xml.lua script. Note that the Lua API is subject to change.

Image of the result

The “fake data” CSV file is taken from https://www.briandunning.com/sample-data/ and serves as a demonstration.