I am using sample provided at Computer Vision API C# Quick Start I am able to get JSON result as shown in Sample but unable to get only text content.
Sample format of JSON is as below:
{
  "textAngle": 0.020943951023932542,
  "orientation": "NotDetected",
  "language": "de",
  "regions": [
    {
      "boundingBox": "46,54,59,71",
      "lines": [
        {
          "boundingBox": "48,54,49,19",
          "words": [
            {
              "boundingBox": "48,54,49,19",
              "text": "Hello"
            }
          ]
        },
        {
          "boundingBox": "46,106,59,19",
          "words": [
            {
              "boundingBox": "46,106,59,19",
              "text": "World"
            }
          ]
        }
      ]
    }
  ]
}
For now, I am using JSON converter to extract text nodes by adding newline for each word using below class structure.
public class Region
{
    public string BoundingBox { get; set; }
    public List<Line> Lines { get; set; }
}
public class Line
{
    public string BoundingBox { get; set; }
    public List<Word> Words { get; set; }
}
public class Word
{
    public string BoundingBox { get; set; }
    public string Text { get; set; }
}
Is there any request parameter provided in API to get direct text in the response itself?