Method GetTextExtractionResultFromJson
GetTextExtractionResultFromJson(string, string)
Parses both a JSON schema and a JSON result string, then builds a TextExtractionResult combining both.
public static TextExtractionResult GetTextExtractionResultFromJson(string jsonSchema, string jsonResult)
Parameters
jsonSchemastringThe JSON Schema definition.
jsonResultstringThe JSON string containing the extraction output.
Returns
- TextExtractionResult
A TextExtractionResult representing the parsed schema and its result.