Convert JSON (struct) to binary

4 次查看(过去 30 天)
Saud Alfalasi
Saud Alfalasi 2021-2-22
How would you convert a string or a ’Struct with fields’ (basically a JSON object) into ubit1 binary?
Would you do: Struct>String>…dec2bin?

回答(1 个)

Shadaab Siddiqie
Shadaab Siddiqie 2021-2-25
From my understanding you want to covert json to binary and vice-versa. Here is a JSONLab toolbox which might help you.
  1 个评论
Saud Alfalasi
Saud Alfalasi 2021-2-25
Hi Shaddab, thank you for your answer and I will test is out very soon and give a response. Thank you again. Saud

请先登录,再进行评论。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by