Questions tagged as 'json'

1
answer

Why am I not handling the _Layout file when I'm handling an error?

I'm doing an error handling using Json Result, when I displayed the error message it should display the formed page as well as it rules in the _Layout file, so the page is loading all white, does anyone know how to solve it? Below the image of h...
asked by 30.01.2018 / 17:04
2
answers

AJAX Axios loading JavaScript

I am doing an AJAX request using the Github API by the axios and wanted to know how I do for while loading the information, it gives a console.log('carregando'); and create a component written "loading", and after that it deletes the load...
asked by 05.09.2018 / 22:07
2
answers

JSON Treatment

Through JQUERY, I need to make a request via POST where I will get a JSON with a token. The JSON return I get after sending the POST is this: { "Token": "e27bb0a7-e65b-4cc3-a82e-7a2a3c26a248", "Codigo": 0 } My question...
asked by 14.11.2017 / 11:55
1
answer

PHP + JSON Webservice - Reading array

I would like to interpret a JSON with PHP , where: {"data": { "nome1":João, "status":["Ativo"] } } $retorno = json_decode($jsonRet); $nome1 = $retorno->data->nome1; $status = $retorno->data->status; echo "nome1: "...
asked by 04.12.2017 / 19:06
2
answers

WebService PHP + JSON - How to read return

Hello! Personal, I would like to understand how to read the return, with the following structure: $ws = array( 'categoria' => array( array( 'cat1' => array( 'dado1' => $dado1, 'dado2'=>...
asked by 04.12.2017 / 17:15
1
answer

How to print list of JSON objects

I'm implementing facebook posts for a particular page on my site and I'm having trouble understanding how to print the following JSON framework: { "posts": { "data": [ { "created_time": "2017-11-16T19:52:28+0000", "...
asked by 17.11.2017 / 11:03
2
answers

Problems with JSON + PHP

I have a JSON file that is being used to store settings, and a php file, which reads and populates the file according to the reported data, however after the settings are often edited by the JSON is has its format changed from Array to...
asked by 28.09.2017 / 20:10
1
answer

Json's problems with Vue.js

note below; My page <!DOCTYPE html> <html> <head> <title>My books</title> <link rel="stylesheet" type="text/css" href="node_modules/bootstrap/dist/css/bootstrap.css"> <link rel="stylesheet"...
asked by 20.09.2017 / 20:24
1
answer

Google chrome extension does not show default popup

I started yesterday to develop extensions for google chrome, and I followed google as follows: I declare my manifest and added the page with the popup: { "name": "ODM Integration", "description": "Open Download Manager integration f...
asked by 26.12.2017 / 13:54
1
answer

jQuery Autocomplete Uncaught TypeError: Can not read property 'length' of undefined [closed]

I'm using jQuery autocomplete to grab data from a JSON and show them in as suggestions on the form while typing. It turns out that JSON is not in the format expected by the plugin, so I decided to try to turn it into an array, but it's only in...
asked by 28.08.2017 / 04:52