#------------------------------------------------------------------------------
# This is a custom test created for PolyFile.
# The original implementation of libmagic/file tests for certain filetypes like
# JSON by using a parser written in C rather than the DSL.
# Instead, PolyFile adds a new test type called `json`:
0   json    x   JSON text data
!:mime  application/json
!:ext   json
# libmagic names a file that holds more than one top-level JSON value
# newline-delimited JSON, and gives it its own MIME type, so PolyFile adds a
# second test type called `ndjson`:
0   ndjson  x   New Line Delimited JSON text data
!:mime  application/x-ndjson
!:ext   ndjson/jsonl
