get Value By Path
Gets the value of an object by a path.
getValueByPath({'a': {'b': v}}, ['a', 'b']) -> v
getValueByPath({'a': {'b': [{'c': v1}, {'c': v2}]}}, ['a', 'b[]', 'c']) -> [v1, v2]
@Nullable()
Gets the value of an object by a path, returning a default value if the path does not exist.
getValueByPath({'a': {'b': v}}, ['a', 'b'], 'default') -> v
getValueByPath({'a': {'c': v}}, ['a', 'b'], 'default') -> 'default'