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
jsonSchema
stringThe JSON Schema definition.
jsonResult
stringThe JSON string containing the extraction output.
Returns
- TextExtractionResult
A TextExtractionResult representing the parsed schema and its result.