Questions tagged as 'json'

1
answer

Delphi Web Service parameters

I have a service running in Delphi with DataSnap REST, it serves to read data and returns the query to who requested it, but now the client needs to consume this data via web passing some parameters, until then beauty, did the function it return...
asked by 04.10.2016 / 16:33
1
answer

How to transform this Json into an ArrayList of objects?

I'm working on a project where I'm doing a query in the database and need to return a list of database users to be listed in my application. I have the following line Json (returned by the server): {"id": 1, "nome": Raphael, "sexo": M}{"id"...
asked by 08.10.2016 / 08:45
1
answer

How to get specific information inside a Json with Node.JS?

{ "pair": "BTCBRL", "bids": [ [2257.89, 0.20752212, 90852987], [2257.88, 1.01201126, 90800395], [2249.98, 0.05052466, 90806289] ], "asks": [ [2272.14, 2.3648572, 90803493], [2279.63, 0.08722052, 90840584], [2279.75, 0.0411...
asked by 31.01.2017 / 16:50
1
answer

Save information in a SQLite and then upload to a JSON with webserive

I have read several tutorials on how to get a JSON and pass the information to a SQlite, however as I do the reverse, I get the application data already saved in SQLite and then transfer it to a webservice with JSON ... thanks right away     
asked by 20.09.2016 / 04:10
1
answer

Delegating events to dynamically generated elements

I'll try to be more specific. I have a <ul> list that is populated via jQuery: var $imovel = $("#lista-resultados-pesquisa"); $.ajax({ type: 'GET', url: 'imovel.json', success: function(data) { $.each(data.imovel,func...
asked by 04.06.2016 / 16:29
1
answer

1st becomes 1 when I enter json

When I enter 1ª in JSON with codeigniter, when I convert it into string it will 1\u00aa . $t[0]["teste"] = "1ª"; $data[0]["algo"] = $t;     
asked by 26.06.2017 / 23:40
2
answers

Return Json from php to jquery ui

I have a code in php that does a return of data in JSON. When it has only one value it returns as it should:    ["[email protected]"] When more than one value is found it returns as follows:    [ "[email protected]", "ezekielEBurt@d...
asked by 11.02.2016 / 11:42
1
answer

Javascript - Sum and Group By in Array

I would like a tip / help. I'm working with a series of JSON files, and applying filters to them as the user progresses through the system. So far so good, I managed to do it quietly using .filter() . My problem is in the n...
asked by 11.02.2016 / 17:11
1
answer

How to create a json from my object?

I have a Product object that I can not transform into json using json_encode : <?php class Produto { public $nome; public $preco; public $descricao; function transformarJson(){ } } ?> How can I do this?  ...
asked by 03.03.2016 / 16:55
2
answers

Sorting items with angle

I'm working on a system that requires paging of data, but first I'd like to sort the json I get in the order of user names. JSON is in the format: [["22","Aiolinhos","23","[email protected]","Administradores","SIM"],["20","Aiorinhos","...
asked by 13.04.2017 / 19:06