For the complete documentation index, see llms.txt. This page is also available as Markdown.

Validate

Validate your JSON with Json.NET Schema.

Task version: 1.0.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

Json : Object

Json input needs to be of type string or JToken.

Default: - Example: {"key":"value"}

JsonSchema : String

Json Schema to validate to. Uses Newtonsoft JsonSchema

Default: - Example: {"type": "object", "properties": {"name": {"type":"string"} } }

Task Result

Name
Description

Success : Boolean

Operation complete without errors. Example: true

IsValid : Boolean

JSON was valid. Example: true

Errors : IList<String>

List of errors. Example: { An error occured..., Another error }

Task Changelog

Changelog for Task Frends.JSON.Validate.

[1.0.0] - 2023-06-15

Added

  • Initial implementation

Last updated

Was this helpful?