Questions tagged as 'json'

2
answers

Error returning JSon data from the driver

I have the following code in my controller where I send the list of cities to a JsonResult private ApplicationDbContext db = new ApplicationDbContext(); //la linea anterior es donde instancio el modelo de datos o data context public JsonR...
asked by 14.12.2016 / 17:55
0
answers

I can not Parser Retrofit

Hello, I'm all trying to read a json file with retrofit and then save it in sqllite, but when the project is implemented the app closes I have the Customers class, they are more fields but that's how the structure goes, with its respective se...
asked by 19.04.2017 / 20:23
2
answers

mysql pivot table result of json fields

I'm looking for information to pivot a table in mysql. The bbdd that I have is a bit strange, because the data I have to get from a json of one of the fields. After searching, I managed to execute the following sentence: select...
asked by 05.12.2016 / 09:50
1
answer

Wordpress REST API, GET featured image with a call

I'm making an android application for my wordpress page. I want to get several JSON data, one of them the image associated with the posts. The JSON that returns wordpress by default has the following format: "author": 5, "featured_media": 1836...
asked by 28.11.2016 / 12:31
1
answer

Get external json on android with java

I need to access an external configuration file that is in json format. I have this code but it does not work for me: String stringUrl = "url_to_json/configuracion.json"; String respuesta = ""; StringBuilder response = null; try {...
asked by 02.09.2016 / 11:21
1
answer

Processing from NodeJS to JSON

I am trying to process from NodeJS to JSON, the idea is to develop an "autocomplete" text field with AngulaJS, but I am with the problem that the driver does not work correctly to be able to show the data in the HTML. I was testing it with w3sch...
asked by 20.08.2016 / 05:45
1
answer

Like when dispatch_async ends in swift

I'm trying to get several files in Json format with library Alamofire , and then these json I have to save them in a database sqlite in String . The problem is that I made the insertion in the database before obtaini...
asked by 11.08.2016 / 13:40
0
answers

register shopping cart in php with pdo

how to register this shopping cart in php with pdo the php that filled the cart is this <div class="container"> <div class="row"> <?php $productos->carrito(); ?> <?php...
asked by 21.10.2016 / 03:31
2
answers

From ViewBag to JSON

I am passing a controller ViewBag to the view and would like to pass it to a numeric array in JavaScript. The content of the ViewBag:    "12,13,17,18,19,8,9,14" My last attempt has been this: var horas = @Html.Raw(Json.Encode(ViewBag...
asked by 20.10.2016 / 10:52
1
answer

JSONWebTokens on Scalatra

I am trying to add security to my web application using JWT in Scalatra. At the moment I am using Scentry and I have the User-Password and RememberMe strategies defined and working. My intention is to change the RememberMe strategy, which curren...
asked by 27.03.2016 / 14:16