The JSON DATASOURCE module does not handle arrays in arrays. i.e.:What if you have a node with multiple images attached ( or multiple URLs...) In a normal PAGE View you receive an array that you can even theme. But in this module, I can not seem to get an array with a list of other node values.

Its strange because even if you have a normal VIEW PAGE, it works. Then add a JSON DOC and all of the Images are missing.
Even adding a RELATIONSHIP does not work.
Just thought I would mention this. It would be really nice if there was some kind of UI just for JSON views. Perhaps somehting like CONTEMPLATE for JSON...
just 2 cents.

Comments

allisterbeharry’s picture

Assigned: Unassigned » allisterbeharry
Category: feature » bug

I'm going to add the code for correctly rendering fields with arrays when you include a field with multiple values attached. There's no code for handling fields as arrays because the rendering code (wrongly) only outputs the raw view result. This will be fixed in the next release.

allisterbeharry’s picture

Status: Active » Fixed

Fixed in 6.x-1.0-beta1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.