Questions tagged as 'json'

2
answers

Picking up json data

I created a json with the data of a magazine that I maintain, but now I have to create a separate index by the proper category, by author, and the other fields, I was able to get the general data, but I can not filter this data into its correspo...
asked by 23.10.2018 / 22:52
1
answer

Creating generic log table for various Django models

I have 30 models. Each one contains information from a calculator and each record is information from sub calculators. I need to create a table of logs of each calculation made by the user. Currently I'm saving JSON what the guy says and savi...
asked by 29.10.2018 / 16:18
1
answer

FOR in localstorage does not work

Good night guys, The status of my LOCALSTORAGE looks like this: WhenItrytodothis:for(varpostin$window.localStorage){console.log(post);varvalue=JSON.parse($window.localStorage[post]);alert(value);response.push(value)}Ittakesupthelengthattr...
asked by 26.09.2018 / 03:10
1
answer

Can not rename to null token Parameter name: token

Follow the extension: public static void Rename(this JToken token, string newName) { if (token == null) throw new ArgumentNullException("token", "Cannot rename a null token"); JProperty property; i...
asked by 06.12.2018 / 21:17
2
answers

Json Web Token - How to create a token that accesses only a given Controller or Action?

I'm implementing JWT in a .Net Core 2.0 application and would like to know how to restrict tokens access to certain Controllers.     
asked by 27.08.2018 / 15:31
4
answers

How to browse a list using each JQUERY

The scenario is as follows: I get a JSON array from my webservice and each time I scroll through the information according to the index (event 1, 2, 3, etc.) My job is as follows: $(document).ready(function(){ $.ajax({ type: "G...
asked by 07.12.2018 / 20:14
1
answer

Help with DataTable Server-side

Hello, I wanted to know the best way to create a Server-side DataTable. Some questions I have: The next button does not work, and the log counter does not work either. How do I fix it? I'm using Start and Length in SQL code, is there a sim...
asked by 02.09.2018 / 01:15
1
answer

Problems while navigating json nested

I have a response in json I have a problem with going through it, the first is that I can only get a part of json and not the value I want , the second thing that I get from the first one is not going through the response number it gives...
asked by 03.08.2018 / 18:15
3
answers

Send a string name via post using javascript

Good night, I'm trying to send only the name to the server, but every time I pass the string it arrives at the server as "name:", here is the way I'm trying: <!DOCTYPE html> <html> <head> <script> var bt...
asked by 14.08.2018 / 03:19
2
answers

Json does not return data from the Mysql database

I have a table in the Mysql database that contains 3 fields (id, name and model) different from the other fields, the data email template with tags HTML (structure in longtext ). When I run the PHP code to return the data to me, it d...
asked by 01.07.2018 / 20:13