HI i have following complex objects no i need to map it accordingly so that i 
can display it in the view. please help me solve this.


i'm able to get the following in the view but haven't been able to get tripId, 
pickupPoinId.


I want to send it separately so that i can render in view easily.


{"onwardTrips":[{"tripId":"1284876","fromCity":"Singapore","toCity":"Malacca","operatorCode":"SA","operatorName":"Starmart
 Express","departTime":"2014-01-20 
07:30:00.0","busType":"Executive","pickupPointDetails":[{"pickupPointId":"78","departureTime":"2014-01-20
 07:30:00.0","pickupPointName":"Golden Mile Tower, Beach 
Road"}],"dropoffPointDetails":[{"dropOffPointName":"Melaka 
Sentral","dropOffPointId":"1284876"}],"fareDetails":{"adultFare":"65.0"}},{"tripId":"1284596","fromCity":"Singapore","toCity":"Malacca","operatorCode":"SA","operatorName":"Starmart
 Express","departTime":"2014-01-20 
08:30:00.0","busType":"Executive","pickupPointDetails":[{"pickupPointId":"78","departureTime":"2014-01-20
 08:30:00.0","pickupPointName":"Golden Mile Tower, Beach 
Road"}],"dropoffPointDetails":[{"dropOffPointName":"Melaka 
Sentral","dropOffPointId":"1284596"}],"fareDetails":{"adultFare":"65.0"}}],"errorCode":0}

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to