locked
Amazon TextExtract RRS feed

  • Question

  • User-588203678 posted

    hi

    We are using Amazon text Extract dll . 

    in pdf the time cart is like this . i want to read this and form json string.

    So i created a class Timesheet.cs

    public class Timesheet

    {

    public List<Days >  Days

    public list<intervals> intervals

    }

     public class Days

    {

    public string Sun,Monday,Tues,Wed,Thur,Friday,Satur { get;set;}

    }

    public class intervals 

    {

    public string morning,afternoon,tiffin,dinner {get;set;}

    }

                      morning      afternoon    tiffin     dinner

    Sun              2hrs              2 hrs         1 hr       3 hrs  

    Mon            2 hrs              2 hrs         1 hr            4 hrs

    Tue

    Wed

    Thur

    Friday

    Saturday

    Saturday, April 3, 2021 7:28 AM

Answers

  • User303363814 posted

    Create a small example that illustrates what you want to do.  Something that anyone can run.  (What you have shown is nonsensical).  Put literal data in data structures (strings, lists, arrays, etc) to simulate data coming from outside the code.

    Run your sample code, show us the output and show us what output you want.

    LinqPad is a great tool for little experiments.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, April 3, 2021 11:15 PM

All replies

  • User1120430333 posted

    Do you have a question an issue?

    Saturday, April 3, 2021 7:57 AM
  • User-588203678 posted

    Hi

    Write a C# function to read coordinate of monday lunch ,monday dinner , Tuesday breakfast etc .

    Saturday, April 3, 2021 2:08 PM
  • User303363814 posted

    Create a small example that illustrates what you want to do.  Something that anyone can run.  (What you have shown is nonsensical).  Put literal data in data structures (strings, lists, arrays, etc) to simulate data coming from outside the code.

    Run your sample code, show us the output and show us what output you want.

    LinqPad is a great tool for little experiments.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, April 3, 2021 11:15 PM