Questions tagged as 'json'

0
answers

to_json and read_json in Python Pandas

I'm trying to pass a DtaFrame or Series in Python to json format with to_json() and re-read it with read_json() , but it saves or retrieves it in the wrong format. The series that I try to convert is: pmes['ADS']['Junio']['Rentabi...
asked by 28.06.2018 / 12:52
2
answers

Incremental filtering in JQuery

I have the following code in JQuery, a function to filter an array that I store in a global variable, it is a JSON that I ask for AJAX. function filtrar(dato){ var filtrado = content.filter(function (a) { return...
asked by 02.07.2018 / 19:28
0
answers

read Json type data from SQL and send it to a text file

Hello friends, start working on a C # code that you have to do only, read a query in my database (that query converts my table to Json type formats) then the result of the query has to be sent to a Json type file. I have never worked with Json t...
asked by 27.06.2018 / 07:07
1
answer

Error returning data from PHP to Javascript: "Unexpected token in JSON at position 0"

I am making a form and I am using fetch to send and receive data with PHP:    Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 at fetch.then.res ( app.js:15 ) Here is my% code of%:...
asked by 27.06.2018 / 05:44
0
answers

Filter results in datatable

I have a datatable that I filled with a JSON, which results in the prices of orders, I want to make that when using a select and a button you can filter the information according to the month of registration. This is the table: <table id...
asked by 27.06.2018 / 16:26
0
answers

Error compiling reflect-metadata

I try to compile an application on android and I get this message:    Error: can not find module 'reflect-metadata' In other forums I found that you have to add the metadata in the package.json but not specifically where     
asked by 05.07.2018 / 18:00
0
answers

Ionic.config.json in the www folder

I need help with a problem: I have an ionic.config.json file with several proxies, I want to know where I can find the proxies in the folder 'www' after generating with npm run build, I searched in each file in the folder 'www' looking for the p...
asked by 28.06.2018 / 16:27
1
answer

series for drilldown using array and json_encode

I'm doing a drilldown chart link which for the time being as a test I intend to show years (axis x) and a numerator (y axis) brought from my database, at the moment I am a bit lost because the graphics I am using work with some peculiarities t...
asked by 30.06.2018 / 05:49
1
answer

Problems when viewing the content of an xml in json format using clob

I am trying the code to consult a table, I get the result as XML I convert it into JSON format, and I show it on the screen to perform tests. My problem is that, by showing the JSON in varchar format (with GetStringVal) it works fine, but if the...
asked by 29.06.2018 / 10:12
2
answers

How can I send an Arrangement in the post using JSON?

I have a function in ajax that creates an arrangement of an object and sends it to the PageModel with a post. function guardarOrden(data) { return $.ajax({ contentType: 'application/json; charset=utf-8', dataTyp...
asked by 26.06.2018 / 20:03