func (enum ObjectSubtypeEnum) MarshalJSON() ([]byte, error) {
	return json.Marshal(enum.String())
}
/*
MarshalJSON implements json.Marshaler
package runtime
import (
	"encoding/json"
	"fmt"
)
type objectSubtypeEnum struct {
	Array      ObjectSubtypeEnum
	Null       ObjectSubtypeEnum
	Node       ObjectSubtypeEnum
	Regexp     ObjectSubtypeEnum
	Date       ObjectSubtypeEnum
	Map        ObjectSubtypeEnum
	Set        ObjectSubtypeEnum
	Weakmap    ObjectSubtypeEnum
	Weakset    ObjectSubtypeEnum
	Iterator   ObjectSubtypeEnum
	Generator  ObjectSubtypeEnum
	Error      ObjectSubtypeEnum
	Proxy      ObjectSubtypeEnum
	Promise    ObjectSubtypeEnum
	Typedarray ObjectSubtypeEnum
}
var ObjectSubtype = objectSubtypeEnum{
	Array:      objectSubtypeArray,
	Null:       objectSubtypeNull,
	Node:       objectSubtypeNode,
	Regexp:     objectSubtypeRegexp,
	Date:       objectSubtypeDate,
	Map:        objectSubtypeMap,
	Set:        objectSubtypeSet,
	Weakmap:    objectSubtypeWeakmap,
	Weakset:    objectSubtypeWeakset,
	Iterator:   objectSubtypeIterator,
	Generator:  objectSubtypeGenerator,
	Error:      objectSubtypeError,
	Proxy:      objectSubtypeProxy,
	Promise:    objectSubtypePromise,
	Typedarray: objectSubtypeTypedarray,
}
type ObjectSubtypeEnum int
func (enum ObjectSubtypeEnum) String() string {
	return _objectSubtypeEnums[enum]
}