Questions tagged as 'json'

1
answer

Running complex JSON structure with java Script

Hello, I'm starting now in the javascript world, I would need help to go through the following json structure: Ineedto,forexample,incrementacounterwhenthe"win" field is set to "true", I need to store the value contained in certain fields as...
asked by 28.05.2016 / 16:14
3
answers

My json returns invalid character in PHP

I need to mount a JSON , in PHP , to return data to AngularJS, but one of the JSON object's data is coming with the letter "á" with another character. How can I fix this? NOTE: The name is accented in the BD, because it was inserted...
asked by 24.06.2016 / 04:56
1
answer

How to get a return item from a json encode

I would like to know how to store each separate item so that I can then use it in a sharedpreferences . There is this class in my program .... public class Tab { private String UC; private String Instalacao; private Stri...
asked by 13.04.2016 / 15:15
1
answer

Create an API with Delphi and generate Json to consume with Ionic

I want to create an API with Delphi that generates data in Json to be able to consume using Ionic Framework, is it possible? Json consumption with Ionic, but my API today is C # as of this tutorial , I want to know if I can do the same with Del...
asked by 06.04.2016 / 00:39
2
answers

In the "while" method adds to the array

I'm trying to produce a script that when I query in mysql it returns an array, so far ok, but the goal is to have this query turn an edited json. Example: {"changelog":{"count":2,"news":{"ola":"testando1","ola2":"testando2"}}} And in C # I m...
asked by 26.04.2016 / 17:52
2
answers

Send 2 Json objects for $ http in AngularJs

I am using C# / EF / Angular , in my backend I have the following method, which waits for 02 parameters: public dynamic save(Entidades.CheckList json, Entidades.CheckList json1) { master = new ClassMaster(); Entida...
asked by 16.06.2016 / 00:47
2
answers

Serialize NHibernate object to JSON

How can I serialize an NHibernate object to JSON. When I try to serialize the error saying that it is not possible to serialize an object in context.     
asked by 16.06.2016 / 01:41
1
answer

Making PHP JSON

I'm trying to create a JSON, but I'm not getting it, look at my code below: $sqlCelula = "SELECT * from tbl_CELULAS WHERE COD_IDENT_IGREJ = 'igj"; $celulaVars = array(); $celulaVars[':igj'] = $suc->getCOD_IDENT_IGREJ(); $celulas = $conexa...
asked by 04.02.2016 / 20:27
1
answer

Select preselected with Jquery change?

I'm studying Json and the Jquery change event. What I need is the following When the user opens the page already has results. (no select all checked) The html comes empty and only works when I change the select to some city. var ci...
asked by 02.04.2016 / 20:30
1
answer

Is it possible to change the format of the json file?

I have a code that generates a Json file in this format: [ { "$id": "1", "poule": 73, "idusuario": 4, "vendedor": "ITAMAR SOUZA", "total": 50.00, "datajogo": "2016-01-19T00:00:00", "terminal": "(11)985590116",...
asked by 22.01.2016 / 02:18