Convert JSON (struct) to binary

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

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.

Asked:

on 22 Feb 2021

Commented:

on 25 Feb 2021

Community Treasure Hunt

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

Start Hunting!