Last updated 4 years ago
Was this helpful?
Requires: sources module.
This operation allows to embed source's data into a nested object section:
var source = new ObjectSource(new {A = 1, B = 2}); var nestedSource = source.Nest("obj1", "obj2");
Data in nestedSource: { "obj1": { "obj2": { "A": "1", "B": "2" } } }