Questions tagged as 'json'

0
answers

Display in JSON format data from a database in SQL Server 2008 (AngularJS)

I need your help in the following please: I am using AngularJS, I have a database in SQL SERVER 2008 are more than 5 thousand records that I have per table, what I want to do is bring all the information through JSON and show it, to be able t...
asked by 13.09.2017 / 19:16
0
answers

Paginated table with ajax

I'm using laravel 5.4. In my table I bring the forms that the users completed. It looks like this I use a select, to be able to bring in a json and complete the table select: <select id="myselect" class="selectpicker" data-show...
asked by 27.09.2017 / 21:36
4
answers

Insert data from a json string

Good, I'm trying to insert data from string json , but I do not know how to show only the information I want. I have the following: [ { "CategoryId": 41, "ParentCategoryId": 0, "CategoryGroupId": 4, "CategoryName": "...
asked by 12.09.2017 / 16:39
0
answers

Fill table with json

I am consuming an api that brings me the data of an arduino sensor the problem is that I could not read the data that returns to me in json format I returned it this way {"channel":{"id":363764,"name":"SENSORES","description":"Grupo de sensore...
asked by 15.11.2017 / 22:28
0
answers

Serialize a .values () as json. showing data from two tables

I want to represent the result in json of some values of the queryset but I could not, it throws me an error that the object dict has no meta class. 'dict' object has no attribute '_meta' I am using this code: def listado_libros(request):...
asked by 08.09.2017 / 07:21
2
answers

Store a Json object, containing subobjects, using JSONObject Volley

I need to save the following object Json , emplando JSONObject (volley). { "idAsignatura": { "idAsignatura": 1, "nombreAsignatura": "Cálculo" }, "idEstudiante": { "...
asked by 11.09.2017 / 20:43
1
answer

Enter Picaso lib into a listview without an adapter

Good, I'm doing a query to an array json, everything works wonders, the code is simple and light, the problem I get when I want to add an image to my listview, since it does not show me. I have this code snippet: ListAdapter adapter = n...
asked by 10.09.2017 / 03:33
1
answer

Compare ISODate and two json ObjectId (JavaScript)

I would like to compare two jsons, but I have a problem with dates and objects. I do not know how I can convert them or compare them between two jsons to see if they are the same or not. JSON 1: { "_id" : ObjectId("85f8421445225...
asked by 06.09.2017 / 12:03
1
answer

How do I iterate with an array

How do I iterate with a array that I bring from the database in php and then send all those data obtained by a JSON to my view? This is what I have so far: $conn = new mysqli($host, $user, $pass, $db); $errores = array(); if...
asked by 25.08.2017 / 20:31
0
answers

Error when wanting to parse JSON

Hello I have a query to run my application gives me the following error and I'm not discovering that you should greatly appreciate your help !. From already thank you very much! I attach part of my code import UIKit import Alamofire extensi...
asked by 27.08.2017 / 17:18