Method FromJson
- Namespace
- LMKit.Extraction.Ocr
- Assembly
- LM-Kit.NET.dll
FromJson(string)
Deserializes the specified JSON string into an OcrResult instance.
public static OcrResult FromJson(string jsonString)
Parameters
jsonString
stringA JSON-formatted string that represents an OcrResult, including its text elements and page layout metadata.
Returns
Exceptions
- JsonException
Thrown if the JSON is invalid or cannot be mapped to an OcrResult.