I previously used github.com/xeipuuv/gojsonschema to validate JSON schema and extract data from JSON requests, but it has not been maintained for a long time. I'm considering switching to another library, but I noticed that it doesn't have the Loader functionality. Is there any plan or possibility to add it in the future?
Need
// w http.ResponseWriter, r *http.Request
result,err := jsonschema.SchemaDataLoader(r.Body)
if err == nil {
data := result.(map[string]interface{}) // or some struct
}
I previously used
github.com/xeipuuv/gojsonschema
to validate JSON schema and extract data from JSON requests, but it has not been maintained for a long time. I'm considering switching to another library, but I noticed that it doesn't have theLoader
functionality. Is there any plan or possibility to add it in the future?Need
Thank you~