func (m Map) Set(selector string, value interface{}) Map {
	access(m, selector, value, true, false)
	return m
}
Set sets the value using the specified selector and
returns the object on which Set was called.

Set can only operate directly on map[string]interface{} and []interface

Example

To set the title of the third chapter of the second book, do:

o.Set("books[1].chapters[2].title","Time to Go")
package objx
import (
	"fmt"
	"regexp"
	"strconv"
	"strings"
)
const arrayAccesRegexString = `^(.+)\[([0-9]+)\]$`
var arrayAccesRegex = regexp.MustCompile(arrayAccesRegexString)
func (m Map) Get(selector string) *Value {
	rawObj := access(m, selector, nil, false, false)
	return &Value{data: rawObj}
}