Questions tagged as 'json'

0
answers

Image processing with WEB REST C #

I am making a mobile application with Android Studio and I synchronize it through a WEB REST in C #, the problem is that when synchronizing the images between SQLite and SQL Server, it sends me an error in the data types in my Web Rest. I clarif...
asked by 29.10.2018 / 20:08
2
answers

Unexpected token in JSON

I want to read the JSON information received from an AJAX request. Code .js const xhr = new XMLHttpRequest(); xhr.open("POST", "includes/modelos/modelo-contacto.php", true); xhr.onload = function() { if (this.status === 200) {...
asked by 28.11.2018 / 08:12
1
answer

Problems with my Store Procedure, do not insert values with json

I have a problem with an SP, what happens is that when you run it, it receives a json as a parameter, and when it is executed, it returns a false message as an error message, this is my code, I am not Very much in this since I am learning: CRE...
asked by 10.10.2018 / 23:43
1
answer

Convert from JSON to string

This function is part of an invoice. When the invoice appears to me, it is displayed in a JSON. I would like to see the list of products like this. product - price product - price product - price, unlike what it shows me is public...
asked by 08.10.2018 / 17:22
0
answers

Real-time search engine

Hi, I'm doing a search in real time in codeigniter, jquery, json and mysql. between the controller and the model I have communication, it brings me the data, but in object. I think the problem is in sending the data to the array in the js, some...
asked by 31.10.2018 / 04:50
0
answers

Generate Json in PHP with mysql data

I need to create a json with the following structure (photo1), example 1115 are the union of the IDS region, province and city. Ahem: $idRegion = 1; $idProvincia = 1; $idCiudad = 1; $ids = $idRegion.''.$idProvincia.''.idCiudad; and...
asked by 19.10.2018 / 19:13
2
answers

Consume Json object nested inside another object using Volley

Dear liking in greeting you, I am trying to consume an object Json through Volley using Android , however I only get to consume a part of Json . I am new to this, I hope you can help me, Thanks in advance.    ...
asked by 27.09.2018 / 19:57
1
answer

How do I store in a tuple or list the values of a JSON dictionary in Python?

I currently have the following JSON dictionary: tree = { 'MADRE': '323', 'reports': [{ 'MADRE': '4444', 'reports': [{'MADRE': '5'}, {'MADRE': '4'}] }, {'MADRE': '3', 'reports': [{'MAD...
asked by 24.09.2018 / 16:15
0
answers

how to perform a Json with the DDD architecture pattern

I have the following code in which a client makes a Http request of type Post with Json, so my question is how can I de-serialize that Json and extract its data. I already have created the classes where are the tributes of that Json file inside...
asked by 15.09.2018 / 00:18
0
answers

How to perform JSON searches created with MySQL

I have to do a lot of searches in a SQL table, so it occurred to me to do 1 single selected query and save it in a JSON like this: SELECT json_object('id', Id, 'nombre', nombre) FROM etiquetas What I do not know, is how to search inside tha...
asked by 14.09.2018 / 03:08