If a JSON value contain multiple lines and looks like {"description": "A\r\nB"}, its value is expected to be parse to the string "A" & vbCr & vbLf & "B". In fact it converts to "A" & vbCr & vbCr & vbLf & "B" (doubled vbCr's).
To fix this, I suggest modify the json_ParseString function:
If a JSON value contain multiple lines and looks like
{"description": "A\r\nB"}
, its value is expected to be parse to the string"A" & vbCr & vbLf & "B"
. In fact it converts to"A" & vbCr & vbCr & vbLf & "B"
(doubledvbCr
's).To fix this, I suggest modify the
json_ParseString
function: