Hi everyone, i face with an issue about parsing js...
# serialization
p
Hi everyone, i face with an issue about parsing json, this is my input json
Copy code
{
  "accountNo": "",
  "address": "4",
  "amount": 1719000,
  "bankCode": "950012",
  "channel": "6015",
  "customerCode": "Evn15",
  "customerName": "EXIM",
  "localDateTime": "20210713203042",
  "providerCode": "196000",
  "senderInfo": "Evn15",
  "serviceCode": "000010",
  "sign": "",
  "trace": "000295",
  "vnpayDateTime": "20210713204024"
}
but when json parsed, it throw error
Copy code
Unexpected JSON token at offset 300: Expected quotation mark '\"', but had '\"' instead\nJSON input: .....gn\": \"\",\n\t\"trace\": \"000295\",\n\t\"vnpayDateTi
that is normal json i dont know why it throw error, please help
c
in cases like this i found it helpful to look at the json string as byte array to check if the " is really a normal "
👍 1