Error in readFileAsString() function

Cannot deserialize instance of java.lang.String out of START_ARRAY token

Actually this function is not used anywhere .
So u can feel free to remove it

Feel free to remove this function and use the code used in previous module for reading from a file. That may help you as it has already been tested and used and thus is less likely to give errors.

1 Like

thank you guys…was trying to figure it out for last 1 hr. :sweat:
Nice solution tho :sweat_smile:

No problem :slight_smile:
If it helped you, please mark it as solution and close the topic.