JSONPageParser
parser and JSONCollection
Custom Collection
#93
kjaymiller
started this conversation in
Extensions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Render Engine JSON
JSON Parser and Collection Module for Render Engine. It can build a single
Page
or an entireCollection
.Installation
Install using PyPI. If you haven't already make sure you have render-engine installed (You will need to be using a 2023 version).
Usage
The
render-engine-json
extends render-engine to allow you to build pages and collections using JSON.The
JSONPageParser
class can be used to parse a single JSON page and theJSONCollection
class can be used to parse a single collection of JSON pages.Single JSON Page Entry
To create a json entry you will need the
JSONPageParser
class as the Parser for yourPage
Object.You can pass the page a json string or a json file path.
As a string
As a file
JSON Collection
To create a JSON collection you will need the
JSONCollection
Object.You can pass the collection a json string or a json file path.
As a string
Beta Was this translation helpful? Give feedback.
All reactions