Questions tagged as 'json'

2
answers

json_decode ($ data) PHP [duplicate]

I am using json_decode on top of a GeoJSON file. All I need is to print a specific feature of the file, which has the following structure: var GEOJSON = { "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name"...
asked by 10.06.2017 / 06:13
2
answers

JSON for XLS in java

Is it possible to transform a JSON into XLS with java? I've done an algorithm that writes JSON to CSV, but XLS does not. If they can post libraries or examples.     
asked by 17.08.2017 / 13:20
2
answers

Json with C # with numbered node

Does anyone know how I can read objects with this file template? It looks like the creator did not use [] to Arrays and also the second node is numbered (not key: value as json base). { "1":{ "id":1,...
asked by 27.07.2017 / 22:47
1
answer

How to use POST in a json for an Http server

I was wondering how can I do a POST from a json to an http server. The code I am using to do json is as follows: Person person= new Person(); product.FirtsName = "Ola"; product.ID = 1;...
asked by 24.08.2017 / 12:10
2
answers

Deserialize json string array to string array

Hello, I'm having trouble deserializing a Json, I'm not getting the right data. There is the Main Class that would receive the data list public class PermissaoDossie { [JsonProperty(PropertyName = "data")] public strin...
asked by 08.08.2017 / 17:01
1
answer

jQuery Slider Range

Hello, how are you? I have a code that filters the data of a JSON with jQuey, I can filter with pre-defined values in a variable. But I wanted to use the values of a slide range of jquery ui to filter the json, only when I try to do this can not...
asked by 12.05.2017 / 17:49
1
answer

Traversing Object Objects

How to move objects in JS? Type, I have a Json { children":[ {} ] } The question is, that sometimes there are objects inside objects and sometimes not, within that children, I can have other children, and so on.     
asked by 12.05.2017 / 16:02
1
answer

How to filter a json object with jQuery?

I have the following json object: var json = { "tpAmbiente":null, "hotelPesquisa":[ { "dtEntrada":"20170510", "dtSaida":"20170511", "hotel":{ "id":94, "nome":"Itamarati" }...
asked by 08.05.2017 / 18:55
1
answer

Problem when requesting with ajax in Laravel 5.4

I'm learning the web language for creating my website and using the Laravel framework 5.4, and having trouble sending forms with ajax. Every form I send, returns me the error:    Unprocessable Entity {"account": ["The account field is requ...
asked by 09.03.2017 / 17:04
1
answer

Read JSON return from cURL PHP [duplicate]

Only read a certain return value from cURL. When giving $arrData =json_decode($var); where $var is the return of curl_exec I get: stdClass Object ( [id] => PAY-A8XUTU4VSTE6 [status] => WA...
asked by 27.05.2017 / 00:29