Here's our problem. If I create data set using the following object
Code: Select all
let jsonObj = {
items: [
{
prop1:"...",
prop2:"..."
},
{
prop1:"...",
prop3:"..." // this prop doesn't existing in the first item
}]
}
first, one by one. It might be an OK option for one time edit, but would be really annoying to do this on regular basis.
The only option I see is to merge all item objects into one and pass to readJson. But this means we screw up the preview, since the first item is a mutant type composed of all possible item types.
Is there a way to provide data and schema separately? Or maybe there's another solution. Will appreciate anything that'd help.
Thanks!