Questions tagged as 'json'

1
answer

Deserialize JSON with Newtonsoft for different answers

I have the following problem. I make a request rest to a service, e.g. link the answer is like this if it exists: { "Id": 7113, "Name": "Ted Norris", "BirthDate": "1977-05-13T00:00:00", "Phone": "488-555-1212", "Address": { "St...
asked by 16.03.2017 / 21:55
1
answer

Query between a range of dates of a json in mongodb

I have the following collection in mongodb, I want to get the cveUsuario , activo and the historial , but the history only on days that are in the range of dates selected by the user. { "_id": ObjectId("5847167aa7f95025303...
asked by 27.11.2018 / 01:10
2
answers

Show ajax query in gridview or VB.NET table

I'm making an AJAX application in VB.NET that shows the records of a query in a gridview, so far I can only show the data in a JSON string but I do not know how to show them in a gridview or a table. Currently he only shows me this:...
asked by 10.01.2016 / 06:09
1
answer

SyntaxError: JSON.parse in $ (document) .ready ();

this error had already been given to me before and it was corrected, in this case now if I select an element of a select I must make a $ _POST so that it loads me what is related to that select that in this case would be a sub category the code...
asked by 30.08.2018 / 11:06
2
answers

SyntaxError: Unexpected token 'in JSON at position 1 [JAVASCRIPT]

Friends, I need your help. I have problems on the JavaScript side to convert a string to JSON, the error message says: SyntaxError: Unexpected token 'in JSON at position 1 and on the screen I show the string I receive. Thanks for your time :)...
asked by 28.08.2018 / 05:22
1
answer

How can I make two json parse

I need to parse two jsons I have it like this but I get an error. The variable obj.descripcion does not give me an error if it sent one but when it sent two it gives me an error. json that PHP returns and I capture in response {"des...
asked by 29.05.2018 / 16:10
2
answers

How to pass a JSON to an Object?

Good Day My problems is I have this JSON {"status":"success","code":200,"data":[{"ID":70}]} That I got it from this function to make it clearer: this._service.getDato().subscribe( result => this.datosParaEditar(result.data...
asked by 12.10.2017 / 22:32
2
answers

How to walk a Json inside a chain of text [closed]

Very good to all, the first is to ask disulpas for the title of the question that perhaps is not the most appropriate but I did not know how to express the doubt better. I'm painting a table where your data is a json object and you need to be...
asked by 12.09.2017 / 18:26
2
answers

Android: Change list image according to Json's response?

Good morning, everyone. Charge a ListView from JSON to make reservations. All free reserves in the list have an image of a green icon (indicating that they are available), now those that are occupied should appear with a red ico...
asked by 21.08.2017 / 23:43
2
answers

Query database or json file

Good morning. I will write as specific as possible. I want to make a notification system which will inform users that an application has been answered. I use PHP without framework and Mysql. I can create a table to save and update the c...
asked by 06.01.2018 / 00:07