ftd -> JSON
#773
amitu
started this conversation in
Ideas & RFCs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Running
fastn json <path>
(or127.0.0.1:8000/-/json/<path>/
, on https://github.com/FifthTry/virastral/blob/main/index.ftd, produces something like this:Component JSON
JSON of this format is called component json:
Schema
For every component directly present in this file, the schema would contain the schema compatible with react-json-form.
Schema JSON will also contain two keys,
caption
, andbody
, which will be names of fields of typecaption
andbody
, so we can regenerate "component json" out of output of react-json-form library.Beta Was this translation helpful? Give feedback.
All reactions