Questions tagged as 'json'

2
answers

Retrieving string value JSON

I have a PHP application that returns me a string Json : $cep = $_POST['cep']; $token = ''; $url = 'http://www.cepaberto.com/api/v2/ceps.json?cep=' . $cep; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($c...
asked by 25.07.2017 / 22:15
1
answer

Is there any way to bring information from the database without using server side language?

I was evaluating the Zap Imoveis site to find out which languages and technologies are used on their site. I use Wappalyzer , a Chrome extension that shows the technologies used on any site. Well, I noticed that on that site Wappalyzer did...
asked by 07.09.2017 / 20:52
3
answers

How to insert new line in json file, using PHP?

In the snippet of code config.json , I need every time I run a PHP script, it inserts a new line below, with the sequence number and corresponding id: "assignment": { "0": "292", "1": "280",...
asked by 09.05.2018 / 15:50
3
answers

How to mount JSON with a list of stores separated by categories?

I do not have much intimacy with JSON and I need to create a structure that contains a list of stores separated by categories, where each store item has some information (name, floor, phone, etc.). each category, but I would like everything to b...
asked by 07.05.2018 / 20:24
3
answers

Error reading JSON with PHP

I'm trying to read a JSON file in php in the following format: {"leads": [{"id":"1", "email":"[email protected]", "user": "[email protected]", "first_conversion": { "content": { "identificador":"ebook-abc",...
asked by 16.08.2017 / 17:15
2
answers

Get Data in JSON structure with python

I want to access certain information in the JSON code below, with python: { "informacao1": valor_informação1, "informacao2": "{ dado=informação_dado }" print(arquivojson.get("informacao1")) The above print will display the line bel...
asked by 21.05.2017 / 16:42
2
answers

NewtonJson.Parse with quotation marks in the middle

I have a column of type varchar in the database that takes a JSON. This column is the description of a company, but in 4 languages. The logic I have is as follows: { "PT":"Descrição com "aspas" quebra o meu código", "ES":" "...
asked by 01.03.2017 / 16:10
2
answers

Traverse all keys of a json

I want to go through all the keys of a json so that I can get all its values. Ex: { "logistics_provider": "{{lp_name}}", "shipper": "{{co_common_name}}", "invoice_key": "{{ae_identifier}}", "invoice_series": "{{ae_identifier}}", "vol...
asked by 18.11.2016 / 14:51
2
answers

Remote reading on Android: Json or XML?

I'm starting on Android and I also do not have much Java experience. My first application will have a query to a remote server. My question is: In Java (and therefore in Java), what is more practical when it comes to getting data: in Json or...
asked by 12.04.2016 / 18:50
2
answers

Search CEP by PHP Street

   First of all, I need to get the zip code down the street, that is, I do not have the zip code.   and I have the address, I need to find the zip code by the address. So please do not relate this question with Search Street by Zip Code P...
asked by 04.04.2016 / 16:37