gbv / jskos-cli

Command Line Applications to process JSKOS data format
MIT License
1 stars 1 forks source link

Support reading registry as ndjson #8

Open nichtich opened 5 years ago

nichtich commented 5 years ago

At https://github.com/gbv/jskos-cli/blob/master/bin/jskos-convert#L41 add support of ndjson format.

nichtich commented 5 years ago

To convert a kos-registry from ndjson to JSON:

jq --slurp '{schemes:.}' ../kos-registry/all.ndjson > registry.json