This is a fork of Salsify's JSON parser - to enable the parsing of jsonl files (Line Delimited JSON) and also json files where there is no root array element.
See Salsify's original repo for more info and usage.
To make it work with no root element json files, i just started the parser stack at 0
: $this->stack = [0]
instead of $this->stack = []
To make it work with jsonl I added an extra if statement to pick up {
s, see: the commit here