Questions tagged as 'json'

1
answer

Error reading Json on Android

I'm trying to read this Json that contains fixes, but it gives me the following error, I'm reading it with JSONArray, I tried to traverse it with a for but it does not let me extract the objects inside the json. Does anyone know what I ca...
asked by 05.12.2017 / 17:14
0
answers

select nested in c # ajax mvc and bootstrap-select

It turns out that I'm loading a select with the data obtained from a database with ajax, this is the code c # for this I use bootstrap-select link vision code <div id="buttonGrp" class="form-group"> <div class=...
asked by 03.12.2017 / 03:53
1
answer

Method to save multiple checkboxes and input with json and then show

I am doing my project to graduate, it is a web admin of works and I am looking for how to insert in the table WORKS the materials with the quantities (obras_cant) and the tools with their quantities (herra_cant) , example: Gray p...
asked by 03.12.2017 / 18:06
0
answers

Pass html / html through variable "sanitizer.bypassSecurityTrustResourceUrl" in Angular

--------- iframe.component.ts -------- import { Component, OnInit } from '@angular/core'; import { DomSanitizer, SafeResourceUrl, SafeUrl } from '@angular/platform-browser'; @Component({ selector: 'app-iframe', templateUrl: './iframe.comp...
asked by 01.12.2017 / 11:20
2
answers

Why can not I see a JSON query using the Volley library (Web Services)?

I'm trying to create a web service using the Volley library, only when I run my app on a physical device I do not see the data that is hosted on a free server. The data is already in JSON but it does not remain unseen, already searched on the...
asked by 05.12.2017 / 23:17
1
answer

Use select with API in JSON

I'm making a web page where I'm using the select tag for different uses of an API that is in JSON ( link ) and an input to enter the information, how can I do an if in javascript with the values of the select and send a POST to parse the JSON i...
asked by 25.11.2017 / 05:21
2
answers

How can I add to an array of several objects?

I'm new to this and I'm trying to make a recursive function in php public function recursive_tree($valor) { $consulta = $this->Modelo->Getdata('getHijos', $valor); if ($consulta->num_rows() > 0) { foreach ($consulta...
asked by 27.11.2017 / 18:27
1
answer

Ajax or json can not restart, does not show the MySQL select in the table

I get these errors does not let me see all the data in the table. but yes in JSON THIS DOES WORK SEPARATELY <?php $db_host = "localhost"; $db_user = "root"; $db_pass = ""; $db_name = "mva_colegio"; $conectahugo = new my...
asked by 28.11.2017 / 23:47
1
answer

Delete unicode prefix (u) from JSON file with Python

I'm trying to read a JSON file with Python 2.7. To do this, I read line by line and extract the fields that interest me. But I'm having problems because I get the prefix unicode (u) in some fields. {u'quote_count': 0, u'contributors': None,...
asked by 26.12.2017 / 14:49
0
answers

Pass list from String to JSON Object

I have a JSON list but it returns the following: {"product":"[[\"5a10de2d8bb9d715c320acd8\", [\"5a08d4495d0e296cab3b5637\"]]"} It is not a correct JSON. I have a String list where I store the values and then pass it as a parameter to th...
asked by 19.11.2017 / 15:59