How to parse json objects from a string?

3 views (last 30 days)
Shahd Ewawi
Shahd Ewawi on 14 Apr 2016
Commented: Guillaume on 29 Jun 2016
I have a string that contains json objects (1x878683 char). When I parse them, I got a 1x1 struct that contains the first json object. I want all json objects to be parsed and I want each json object to be an element of a cell array.
  2 Comments
Robert Snoeberger
Robert Snoeberger on 29 Jun 2016
When you say that you have a string that contains JSON objects, is the format of the string similar to the concatenated JSON format [1] for JSON streaming?
Guillaume
Guillaume on 29 Jun 2016
Note that the original question was asked two months ago. I doubt the OP is still waiting for an answer.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!