babuhari123
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2012
05:52 AM
how to parse json values
hi this is the string which i am getting from json request
i want to convert to object to call values
can any one tell me how to parse this values
{
"description" : "fa8275f6-3462-4843-b73e-f14e668250bc",
"status" : "UserAuthToken",
"user" : null,
"elapsedTime" : null,
"paymentDetailsVO" : null,
"contentDetail" : null,
"html5StreamServerURL" : null,
"userRating" : null,
"pageNo" : null,
"contentVideoAccess" : false,
"rechargeAmount" : null,
"bookmarkedMovieList" : [ ],
"recentlyWathcedMovieList" : [ ],
"videoStatus" : null,
"accountStatus" : null,
"amountToPay" : null,
"currentBalance" : null,
"movies" : [ ],
"pageSize" : null,
"totalRecords" : null,
"totalMovie" : 0,
"streamServerURL" : null,
"rtpStreamServerURL" : null
}
i want to convert to object to call values
can any one tell me how to parse this values
{
"description" : "fa8275f6-3462-4843-b73e-f14e668250bc",
"status" : "UserAuthToken",
"user" : null,
"elapsedTime" : null,
"paymentDetailsVO" : null,
"contentDetail" : null,
"html5StreamServerURL" : null,
"userRating" : null,
"pageNo" : null,
"contentVideoAccess" : false,
"rechargeAmount" : null,
"bookmarkedMovieList" : [ ],
"recentlyWathcedMovieList" : [ ],
"videoStatus" : null,
"accountStatus" : null,
"amountToPay" : null,
"currentBalance" : null,
"movies" : [ ],
"pageSize" : null,
"totalRecords" : null,
"totalMovie" : 0,
"streamServerURL" : null,
"rtpStreamServerURL" : null
}
1 REPLY 1
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2012
01:26 PM
Re: how to parse json values
https://github.com/rokudev/librokudev/blob/master/source/librokudev/source/rokudev_src/rdJSON.brs
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!