[FLOW3-general] Creating a JSON output

François Suter fsu-lists at cobweb.ch
Mon Nov 5 18:00:36 CET 2012


Hi all,

I'm trying to a JSON output out of some data from my application. I have 
found some threads explaining how to do this, but it's now quite working 
as I expected.

To keep it simple, let's just that my data model involves "Clients" 
which are related to "Instances" which are related to "Monitorings".

I would like to output a list of all clients, with their instances and 
their monitorings. To achieve this I have tried the following:

https://gist.github.com/4018306

but the JSON view is not descending into instances (nor monitorings, 
obviously).

Any idea what I am doing wrong?

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the FLOW3-general mailing list