Getting the below error when try to test the code with a particular end date :
“com.fasterxml.jackson.core.JsonParseException: Unexpected character (’/’ (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature ‘ALLOW_COMMENTS’ not enabled for parser)\n at [Source: (String)”/home/crio-user/workspace/taniksh101099-ME_QMONEY/qmoney/build/resources/main/trades.json"; line: 1, column: 2]"}
com.fasterxml.jackson.core.JsonParseException: Unexpected character (’/’ (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature ‘ALLOW_COMMENTS’ not enabled for parser)
Searched loads of site but not able to solve this error.
I used resolveFileFromResources() in readFileAsString() to return the file as string and passed that to the readValue();