Convert JSON (struct) to binary

4 views (last 30 days)
Saud Alfalasi
Saud Alfalasi on 22 Feb 2021
Commented: Saud Alfalasi on 25 Feb 2021
How would you convert a string or a ’Struct with fields’ (basically a JSON object) into ubit1 binary?
Would you do: Struct>String>…dec2bin?

Answers (1)

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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!