Set Value: Ability to set Wappler schema from example JSON

Set Value: Ability to set Wappler schema from example JSON. Like in API Action step.

Inspired by:

You can already define schema for variables:

Ok, then this becomes a request to add JSON parser to build the schema like in API Action

Please explain your idea in details, it’s not clear from your explanation what is this request for.

In the API Action step, when you go set the schema, there's an ability to automatically infer the schema from the API response, correct? Similarly, you can manually paste some JSON and run the parser, and it'll automatically generate the schema, right?

Well, I want that JSON parser for the Set Value step then, so I can paste an example JSON, run the parser and it builds a Wappler schema

I changed the topic title now

1 Like

I get that Teodor but that is still static, what we really need is the ability to set a dynamic schema by passing a data set to this and having the schema built from the data automatically. Bit like is done manually with the api step when clicking generate schema.
That would open up so many possibilities

1 Like