lundi 29 septembre 2014

Is there any way to obtain following json result?


Vote count:

0




I have a datatable


classname Division Subject



I A English

I A Maths

I B English

II A English


i need the output as


[{"className":I,Division:[{name:A,subject:[{name:english},{name:maths}]},{name:B,subject:[{name:English}]}]},{"ClassName":II,Division:[{name:A,subject:[{name:english}]}]}]



asked 1 min ago







Is there any way to obtain following json result?

Aucun commentaire:

Enregistrer un commentaire