func MustUnmarshalToDoc(raw []byte) Document {
	doc, err := UnmarshalToDoc(raw)
	if err != nil {
		panic(err)
	}
	return doc
}
MustUnmarshalToDoc unmarshals the given bytes to a Document.
If an error occurs then the function panics.
package vocab
import (
	"bytes"
	"encoding/json"
	"net/url"
	"strings"
)
func MarshalToDoc(obj interface{}) (Document, error) {
	b, err := json.Marshal(obj)
	if err != nil {
		return nil, err
	}
	return UnmarshalToDoc(b)
}
func MustMarshalToDoc(obj interface{}) Document {
	doc, err := MarshalToDoc(obj)
	if err != nil {
		panic(err)
	}
	return doc
}
func UnmarshalToDoc(raw []byte) (Document, error) {
	var doc Document
	err := json.Unmarshal(raw, &doc)
	if err != nil {
		return nil, err
	}
	return doc, nil
}