func (ks keySequence) AddObject(key string) keySequence {
	if len(key) <= 0 {
		panic("ks.AddObject called with an empty key")
	}
	return ks.add(strings.ToUpper(key))
}
AddObject adds an object with the specified key to ks
package meta
import (
	"fmt"
	"strings"
)
type keySequence struct {
	segments       []string
	endValueType   string
	checkExistence bool
}
const (
	object    = "object"
	array     = "array"
	primitive = "primitive"
)