Questions tagged as 'json'

3
answers

Parse JSON Complex

I'm trying to parse a JSON, using GSON, but there is a complex part, because I do not know the name of the keys, so I do not know what names to use in the variables for GSON to parse. I searched and it looks like I have to use Map < & gt ;, b...
asked by 27.08.2014 / 16:58
1
answer

Pass value of an input to an array of objects

I am trying to pass the value of an input text to an array of objects, via jQuery but I did not understand how to insert it into array . I tried to use something like: var usuario = $('#username').val(); And then add in place of carlos...
asked by 12.03.2015 / 18:49
1
answer

Access object option without being dotted

I have a json object in javascript and need to access it, I was currently accessing your options like this: registro.man_ins_prod_05 In hightchart in the part of adding values (date) in the chart, they treat points as comma . Functiona...
asked by 04.02.2015 / 13:24
1
answer

Receiving data in JSON with cURL

I'm sending a cURL, to a URL that will return a JSON response. I'm not sure how to do this, but I'm not sure how to do this, but I'm not sure how to do this. return page is blank. How do I get the page returned in JSON? I tried something like...
asked by 02.04.2015 / 16:07
1
answer

Problem with deserializing json with $

Follow json's code: { "_id": { "$oid": "5b0f4a926724c71d945299f9" }, "_class": "notificador.domain.entity.mongodb.WebhookNotification", "externalId": "EVE-XXXXXXXXXXXX", "resourceId": "TRA-XXXXXXXXXXXX", "accountId": "MPA-XXXXX...
asked by 17.11.2018 / 01:09
1
answer

Relationship between Resources Rest with Spring boot

I'm learning Spring Boot Rest and with a question I can not solve on my own, could you help me? I created the following mapping between the Launch and Person entities: Person Entity: @Entity public class Pessoa { ... @J...
asked by 17.08.2018 / 03:48
3
answers

How to merge 2 or more Json Objects into 1 Only

Would anyone know if there is a way to join 2 (two) or more Json Objects in Only 1 (one) Json object with all the data unified? How could this union be made? Example below:     
asked by 17.07.2018 / 03:52
1
answer

JsonConvert.DeserializeObject returns null

Follow json: [ { "id":"BKA-EU8IED8ZD21Q", "agencyNumber":"1", "accountNumber":"1", "holder":{ "thirdParty":false, "taxDocument":{ "number":"783.121.360-02", "type":"C...
asked by 29.08.2018 / 23:48
1
answer

problems with (array) object

I have a array of objects . Ex: $array = array (1=$obj1, 2=$obj2...ect) It turns out that I'm converting these objects into arrays also to have an array of arrays instead of a Array of objects with the purpose of transformin...
asked by 03.12.2018 / 14:05
2
answers

Update page ajax mvc core

I need to close a modal, and refresh the page, I'm doing it this way: function closeModal() { $('#myModal').modal('hide'); location.reload(); } But the first time it does not work, and then it works normal, does anyone...
asked by 04.06.2018 / 21:53