expandNames

converts string names to objects

object expandNames(object obj);
objobjectobject with key-value pairs
objectsome complex data object

Example

var obj = { "user.some.key" : 123 };
var res = webix.CodeParser.expandNames(obj);
// res = { user: { some: { key: 123 } } };

Back to top