Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
354 views
in Technique[技术] by (71.8m points)

javascript - 通过JSON文件中的数据过滤(Filtering through data in JSON file)

I have access to some JSON data that has some headers that are irrevelant to me.(我可以访问一些JSON数据,这些数据具有一些我不了解的标头。)

When I access the JSON through my App, these extra 3 fields are showing up as blank entries(see image) How can I filter this data feed at the scope level to only get access to the data in the middle {}, bkev_name etc(list of 23 properties).(当我通过我的App访问JSON时,这3个额外字段显示为空白条目(参见图片)。如何在范围级别过滤此数据Feed,以便仅访问中间{},bkev_name等( 23个属性的列表)。) 在此处输入图片说明 .controller('ListController', ['$scope', '$http', '$state','$cordovaBluetoothSerial', '$window', '$location', function($scope, $http, $state, $cordovaBluetoothSerial, $window, $location) { $http.get('js/12137.json').success(function(data) { $scope.orders = data;   ask by me9867 translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...