Questions tagged as 'json'

1
answer

Get value json

The server contains a .txt file ( link ) with the following information: [ { "Nome": "Hemerson", "data": "05/11", }, { "Nome": "Hemerson", "data": "06/11", } ] I want to get the information of the last name and dat...
asked by 04.09.2016 / 08:06
1
answer

Failure to use JSON on INTEL XDK

I'm making an application on INTEL XDK, in which I need to connect to the Database. I created PHP to return with JSON and in Intel, I made the function to return such data. But the application is not returning anything, and since I never did any...
asked by 03.09.2016 / 03:03
1
answer

Xamarin - Accessing API that returns JSON

Next, I'm VERY new to this API issue. I created my first web application .net Framework 4.5.2. I created it pretty standard even (according to VS 2015), and I created a test controller "TestController.cs", I tested it locally and it works, I u...
asked by 05.09.2016 / 19:28
2
answers

Transform a data structure into javascript

Hello, I have the following data structure: [ {id:1,idforeign:2,nome:'etc'}, {id:2,idforeign:2,nome:'etc'}, {id:3,idforeign:3,nome:'outro'}, {id:4,idforeign:3,nome:'outro'} ] I would like to transform to something like this: [ {nome:'e...
asked by 30.09.2016 / 02:01
1
answer

Display the ng-model JSON as the selected option of a dropdown

Hello, I'm wondering if this is possible. For example, I have a dropdown with a JSON array of strokes in ng-options : <select name="curso" ng-options="curso.cursoId.sigla + ' - ' + curso.cursoId.periodo for curso in cursos" class="for...
asked by 29.08.2016 / 01:25
0
answers

Transpiling ES6 to ES5 using babel

I have a package.json file configured to grab all js files from a directory and merge them into a new file, doing transpiling to ES5. However, it is just creating a new file and unifying all the js files from the specified directory. It is not c...
asked by 16.09.2016 / 16:52
2
answers

JSON format in LocalDate field

Personal I have the following record being returned by a query using SpringData : page = grupoService.findByNomeStartingWithOrderByNomeAsc(2, pageable); If I run the following code: System.out.println(page.getContent().get(0)); I...
asked by 26.08.2016 / 19:44
1
answer

Serializing a query result to JSON?

I'm adding the result of a query to an array and I'm trying to serialize to Json . I am not able to print my JSON correctly, could you help me? My code: <?php ini_set('max_execution_time', 123456); $conn = oci_connect('teste', 'teste1...
asked by 12.08.2016 / 21:07
1
answer

How do I get multiple JSON Arrays in a JSON Array with Rest Template?

Hello, I'm having to collect information from several JSON's Array inside a JSON Array, which follows below, with Rest Template: { "dataset":{ "id":10051093, "dataset_code":"SN2017", "database_code":"CME", "name":...
asked by 08.08.2016 / 15:36
0
answers

Return Json api accent

I am using a api that returns data in json . All accents are coming modified. J\u00FAnior With php , what function can I use to reverse this? ** Although it already undid it, it resembled this one. * CODE: <!...
asked by 10.09.2016 / 01:18