// Object turns this pipeline into an otto Object
Object turns this pipeline into an otto Object
// Object turns this pipeline into an otto Object
func (n *Node) Object() (*otto.Object, error) {
	vm := otto.New()
	ba, err := json.Marshal(n)
	if err != nil {
		return nil, err
	}
	return vm.Object(fmt.Sprintf(`(%s)`, string(ba)))
}
func ( n * Node ) Object ( ) ( * otto . Object , error ) { vm := otto . New ( ) ba , err := json . Marshal ( n ) if err != nil { return nil , err } return vm . Object ( fmt . Sprintf ( `(%s)` , string ( ba ) ) ) }
Object turns this pipeline into an otto Object
Object turns this pipeline into an otto Object