Questions tagged as 'json'

0
answers

IndexError: list index out of range, when formatting

I'm trying to format a file, my problem is that if inside "", there is an extra quote ("" ") thunders & throws this error, my code is as follows: with open(entrada, "r") as fichero: datos = fichero.read() datos = list(datos) indice=0 w...
asked by 19.04.2018 / 02:42
1
answer

How to get Bootstrap table data from the visible columns?

I have a table that has the extension resize disables some columns and I use the method $table.bootstrapTable('getData') I want to get a JSon with the remaining columns but the method brings all the columns. as it would be to bring only t...
asked by 18.04.2018 / 17:54
0
answers

How to generate dates with json?

Good morning, working with this calendar there is a part where you color a few days , then change the code in the dataSource: dataSource: [ { url : 'calendario/dataSource.jsp',...
asked by 17.04.2018 / 18:26
0
answers

how to use JSON in Google chart?

I am using a bootstrap table from which I generate Json with $('#table').bootstrapTable('getData') and to go to google chart var data = new google.visualization.dataTable($('#table').bootstrapTable('getData')); but it gives this...
asked by 17.04.2018 / 18:45
1
answer

Did you fail to declare this variable?

Good day I want to declare this but it turns out that the date type is ambiguous to which this error should be generated? Ha tenido lugar un error en la línea: [43] The type Date is ambiguous 40: mes=Integer.parseInt(fecha.substrin...
asked by 16.04.2018 / 22:58
1
answer

How to display data correctly using php from a .js file

Hello Friends I have the following code: // Infobox Output function locationData(locationURL, locationImg, locationTitle, locationAddress, locationRating, locationRatingCounter) { return ('' + '<a href=...
asked by 26.04.2018 / 16:48
0
answers

Parsing JSON with jq

When consulting a API I get the following JSON : { "Count": 1, "Data": [ { "BlockedCount": 0, "BouncedCount": 0, "ClickedCount": 0, "DeferredCount": 0, "DeliveredCount": 0, "HardBouncedC...
asked by 18.04.2018 / 13:04
2
answers

Error accessing json array with php

Good morning, cordial greeting to all. Again, I'm going through this space because I have a big unresolved problem and this time it's php based, since I'm starting in this language. The problem is that I need to return some values in json for...
asked by 17.04.2018 / 23:18
0
answers

{"Error parsing column 6 (Birthdate = 1 - UInt64)"} DAPPER

I'm using DAPPER with JSON and C # where I'm looking to update 2 tables of a database made in MYSQL: PERSON and MASTER ... Then I leave the fields of both objects in C #, the setting of the JSONs that I use to insert, the fields of the tables an...
asked by 15.04.2018 / 00:41
1
answer

How to apply a url using Blade Laravel in javascript

I am using typehead mixed with prefecth for the auto completion of a field called rut, at the moment of requesting information from a JSON file if I use the route calling it in the following way: prefetch: '/ providers / json' It does no...
asked by 09.04.2018 / 22:47