Questions tagged as 'json'

1
answer

Seeding a Json in Laravel

Laravel 5.3 allows migrations with json $ table-> json ('links_normal'); But in the seed DB::table('courses')->insert([ 'name' => 'Curso Nuevo', "links_normales": { "Opcion 1": "xd", "Opcion...
asked by 08.03.2017 / 06:21
2
answers

cycle for does not travel correctly, replaces all by the last data, which are stored in a database

Hello Good day I'm doing my first app and what happens is that the information that will be in the application, will be extracted from a database and if I have a connection with it. I have a cycle for with which I call several states t...
asked by 03.03.2017 / 20:52
2
answers

I have the error "Array to string conversion" when I read a JSON

I have a problem when I read a JSON from PHP because I do not know how to access a certain level. When executing the code in PHP : $json = file_get_contents($url); $json_data = json_decode($json, true); $var=$json_data['message']['publ...
asked by 10.03.2017 / 02:19
1
answer

jsonresult redirects me to page with only json

I have a question, I have this method in a view on asp.net MVC 5: $('#enviar-data').click(function () { //var formData = new FormData($('form')[0]); var form = $('#formx'); // console.log(formData); $.aja...
asked by 20.03.2017 / 00:44
1
answer

Navigation Drawer Activity with a Fragment that has a Button that brings data from a server

I created a project of type Navigation Drawer Activity as you will see in the image below: Where the Import - Gallery, etc sections treat each one as a fragment As you will see in the image above when clicking on Import in th...
asked by 13.02.2017 / 12:40
1
answer

I do not work $ scope of angular for a variable

It happens that I am making a query using get of angular, calling data in JSON format. As you can see, in the method get I use the variable $scope.datos , of which, I get the correct result. app.controller('programad...
asked by 20.02.2017 / 04:46
1
answer

Go through Array of Array json with jquery

I have a cakephp function that returns data in json format in the following way $response = array($query_license,$query_estate,$result_license); if ($this->request->is('ajax')) { echo json_encode($response); die();...
asked by 20.01.2017 / 14:58
1
answer

Connect a Java project to Apache Solr 4.10.3

I have Apache Solr 4.10.3 running a collection called "Collection1". I also have a project in Maven at the moment completely clean and ready to put together. The first thing I want to do is connect to Solr to get indexed data from Collection1. O...
asked by 03.02.2017 / 21:14
0
answers

Get web toi api / asp from java / android

Hello wrote a web api in C # to authenticate, using postman sent the parameters and returns the token correctly, I will leave at the end of post the parameters for testing, and searched for a number of code to bring para...
asked by 05.01.2017 / 17:04
0
answers

No result with Query String dynamic Rest-PHP

When making the following request to a Rest API $response = $this->client->request('GET',$this->urlReports, [ 'headers' => $header, 'query' => ['messageId' => '1b15a714-ac04-4c48-bbc5-8b9a747...
asked by 14.12.2016 / 17:56