JsonDumpReader provides ways to read from and iterate through the Wikibase entities in a Wikibase Repository JSON dump.
To add this package as a local, per-project dependency to your project, simply add a
dependency on jeroen/json-dump-reader
to your project's composer.json
file.
Here is a minimal example of a composer.json
file that just defines a dependency on
JsonDumpReader 1.0:
{
"require": {
"jeroen/json-dump-reader": "1.0.*"
}
}
Initial release with
JsonDumpReader
to read entity JSON from the dumpJsonDumpIterator
to iterate through the dump as if it was a collection ofEntityDocument