Skip to content

Commit

Permalink
more legible 'simple' json
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Jan 28, 2025
1 parent 7c8396b commit 2d267eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trove/render/simple_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _stream_json(self, card_pages: typing.Iterator[dict[str, dict]]):
for _card_iri, _osfmap_json in _page.items():
if _datum_prefix is not None:
yield _datum_prefix
yield json.dumps(self._render_card_content(_card_iri, _osfmap_json))
yield json.dumps(self._render_card_content(_card_iri, _osfmap_json), indent=2)
_datum_prefix = ','
_nondata = json.dumps({
'meta': self._render_meta(),
Expand Down

0 comments on commit 2d267eb

Please sign in to comment.