Plugins
validation.lua File Reference

Functions

function validate (luadesc)
 

Function Documentation

◆ validate()

function validate ( luadesc  )

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow / validation.lua :14-28

validate = function (luadesc)
local document=JSON();
JSON_parse(document, util.json.encode(luadesc))
return validator:validate_document(document)
end
}
return json
else
print("JSON validation is NOT AVAILABLE.")
return nil
end
void print(const char *const name=NULL) const
function validate(luadesc)

Referenced by luaPostProcessIntegration(), and ug::JSONToolkit::JSONSchemaValidator::validate_document().