fromValues method
- VlJson values
Takes the rows of a JSON array as they came out of the parser.
A dataset built here and one read off disk are the same thing to everything downstream, so a selection from a grid, a file somebody read and a literal all arrive the same way.
values A JSON array of row objects.
Returns This dataset, so calls chain.
Implementation
VlDataset fromValues(VlJson values) {
int i = 0;
int n = values.count();
while (i < n) {
rows.add(values.at(i));
i = i + 1;
}
return this;
}