#What version of xstate is the JSON output of stately?
1 messages · Page 1 of 1 (latest)
Honestly it's currently just an abstract representation of the digraph in JSON that's somewhat compatible with XState. We are going to refine this soon, though.
What are your expectations? i.e. what is your use-case for wanting to use the JSON rather than JS/TS right now?
I'm doing a form app where domain experts can create a form using stately (information about the form fields etc is embedded in meta). Similar to swagger, my application has a text-field for passing in the json, and the app renders the form and interprets the machine.
Also I'm using clojurescript so JS/TS is not really helpful.
That's why it's also important for us to have an API that can expose that JSON
Also I noticed that the schema of the JSON changes constantly, and i have to rewrite my code