Table of Contents

Method GetTextExtractionResultFromJson

Namespace
LMKit.Benchmark
Assembly
LM-Kit.NET.dll

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 string

The JSON Schema definition.

jsonResult string

The JSON string containing the extraction output.

Returns

TextExtractionResult

A TextExtractionResult representing the parsed schema and its result.