Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I parse this JSON result?

Asked by 4 years ago

Hello, I am struggling trying to parse this JSON. I attempted to find answers online but I'm not exactly 100% sure what I'm looking for, as I am relatively new to this. This is the bit I need to parse: {"previousPageCursor":null,"nextPageCursor":null,"data":[{"userAssetId":332415232,"serialNumber":null,"assetId":31151864,"name":"Starry Egg of the Wild Ride","recentAveragePrice":256,"originalPrice":null,"assetStock":null,"buildersClubMembershipType":0},{"userAssetId":1268742820,"serialNumber":21,"assetId":97852159,"name":"Alien Monarch","recentAveragePrice":4674,"originalPrice":1000,"assetStock":250,"buildersClubMembershipType":0},{"userAssetId":1268743222,"serialNumber":47,"assetId":97852159,"name":"Alien Monarch","recentAveragePrice":4674,"originalPrice":1000,"assetStock":250,"buildersClubMembershipType":0},{"userAssetId":1268744408,"serialNumber":135,"assetId":97852159,"name":"Alien Monarch","recentAveragePrice":4674,"originalPrice":1000,"assetStock":250,"buildersClubMembershipType":0},{"userAssetId":1268744433,"serialNumber":136,"assetId":97852159,"name":"Alien Monarch","recentAveragePrice":4674,"originalPrice":1000,"assetStock":250,"buildersClubMembershipType":0},{"userAssetId":1268744896,"serialNumber":185,"assetId":97852159,"name":"Alien Monarch","recentAveragePrice":4674,"originalPrice":1000,"assetStock":250,"buildersClubMembershipType":0},{"userAssetId":1268745020,"serialNumber":210,"assetId":97852159,"name":"Alien Monarch","recentAveragePrice":4674,"originalPrice":1000,"assetStock":250,"buildersClubMembershipType":0},{"userAssetId":1538523574,"serialNumber":null,"assetId":131310899,"name":"Bewitching Amphibian","recentAveragePrice":2319,"originalPrice":null,"assetStock":null,"buildersClubMembershipType":0}]}

Thank you ahead of time! It would also be much appreciated if you guys could point me to some resources that will help me in the future!

Answer this question