jsondecode: preserve original string
Show older comments
I would like to preserve the original string (that contains unicode characters??) when I use the function jsondecode.
Example:
jsontext='{"IDs":"\u00b0C"}'
Data=jsondecode(jsontext)
Result obtained:
Data =
struct with fields:
IDs: '°C'
Desired result:
Data =
struct with fields:
IDs: '\u00b0C'
Thanks for the help!
Accepted Answer
More Answers (0)
Categories
Find more on JSON Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!