JSON

Frends.JSON.Validate / 2.0.0

Summary

Checks a JSON document against a JSON Schema and returns the individual violations rather than only a verdict.

Typical use — screening inbound payloads at the boundary, so bad data is rejected with a reason instead of failing deeper in

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Input parameters.

Name Type Default Example Description
Json Object {\"key\":\"value\"}

Json input needs to be of type string or JToken.

JsonSchema String {\"type\": \"object\", \"properties\": {\"name\": {\"type\":\"string\"} } }

Json Schema to validate to. Uses Newtonsoft JsonSchema

An unhandled error has occurred. Reload 🗙