jsondecode: preserve original string
古いコメントを表示
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!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で JSON Format についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!