Questions tagged as 'json'

1
answer

Return JSON with WEBAPI

I'm creating a WebApi where its return is the next. [{ "$id": "1", "Operadora": { "$id": "2", "Contato": [{ "$ref": "1" }, { "$id": "3", "Operadora": {...
asked by 25.01.2017 / 15:09
2
answers

Automatically update data obtained from api json - Volley

Hello everyone, I have an application that uses a volley to get a given json data, so it works fine but the problem is the volley cache that does not reset until the application is completely closed, for example while the cell is not shut down o...
asked by 23.01.2017 / 20:59
0
answers

Error with popular Google Chart

The following error appears   Invalid data table format: column # 0 must be of type 'string'. At this point I have the return in json this way: [{"Field":"OrderTask","Old":"1","New":"2","Modified":"2016-12-08 11:16:27"}, {"Field":"Statu...
asked by 09.12.2016 / 19:35
1
answer

Fill table and add rows according to Json result

I'm trying to fill a table that automatically generates the number of rows as a result of Json , I can make Json work, it brings all the values I need, however, when updating the table with this information, the fields are populated...
asked by 07.12.2016 / 17:19
1
answer

How do I filter my data?

Good. I have a DB calling vehicles, and I'm using PHP + Json for listing. But now I need to filter them out and I do not know how to do it. I was thinking about using the html but I'm not getting it either. <?php // header('Access-Control-...
asked by 21.11.2016 / 16:43
1
answer

How to get the Promise in Service and only send the data loaded to the control?

I have a json file with the following sample structure: {"status":"ok","count":2,"count_total":54,"pages":27,"posts":[{"id":894,"type":"post","slug":"titulo-1","url":"url-titulo-1.html","status":"publish","title":"Tu00edtulo 1","content":"<...
asked by 18.11.2016 / 13:50
1
answer

HttpRequest php error

I can not use the script because of the class HttpRequest I have already downloaded several classes and always the error: ( link )      $request = new HttpRequest(); $request->setUrl('https://api.infobip.com/sms/1/text/advanced'); $request-...
asked by 17.11.2016 / 11:56
2
answers

receive json to make my Echart dynamic

varechartLine=echarts.init(document.getElementById('echart_line'),theme);echartLine.setOption({title:{text:'Line',subtext:'Mes'},tooltip:{trigger:'axis'},legend:{x:220,y:40,data:['actions1','actions2','actions3']},toolbox:{show:true,feature:{ma...
asked by 13.11.2016 / 16:10
1
answer

Angularjs - Changing view with json return

My application checks the state of a lamp and creates an animation in the view. I am making an ajax request with angular and on the return of success I have to animate a light bulb by following the code: $scope.checkLuzOk = function (respon...
asked by 01.02.2017 / 04:38
0
answers

How to modify a JSON file with Javascript?

I'm using Mapbox. When you click on a polygon the name of the person who lives in the city appears. But I want it when I click to rename the person in the JSON file. map.on('click', function(e) { var features = map.queryRenderedFeatures(e.poi...
asked by 12.11.2016 / 20:36