How to parse json objects from a string?

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 Kommentare

Robert Snoeberger
Robert Snoeberger am 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 am 29 Jun. 2016
Note that the original question was asked two months ago. I doubt the OP is still waiting for an answer.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Gefragt:

am 14 Apr. 2016

Kommentiert:

am 29 Jun. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by