Convert a sequence to a js object
Optional
if true ignore array index and generates arrays without gaps
Update the object with a new path value pairs
an array of path segments
the value corresponding to the path
Returns the object built out of the sequence It can be called multiple times and it will return the up to date object
Convert a sequence to a js object