func Send(w http.ResponseWriter, r *http.Request, payload Sendable) *Error {
	validationErr := payload.Validate(r, true)
	if validationErr != nil {
		err := validationErr.Validate(r, true)
		if err != nil {
			http.Error(w, DefaultErrorTitle, http.StatusInternalServerError)
			return err
		}
		payload = validationErr
	}
	return SendDocument(w, r, Build(payload))
}
Send will return a JSON payload to the requestor. If the payload response validation
fails, it will send an appropriate error to the requestor and will return the error
package jsh
import (
	"encoding/json"
	"fmt"
	"net/http"
	"strconv"
)
const JSONAPIVersion = "1.1"
type Sendable interface {
	Validate(r *http.Request, response bool) *Error
}