Questions tagged as 'json'

0
answers

Transform string to intergenerate JSON - Zabbix

Hello, I'm having the following problem, I'm trying to use the LLD method in zabbix to crawl a value. I would like to generate the item as follows: NAME ANY = VALUE (Numeric Type) But I'm having a question if I'm generating my JSON corr...
asked by 05.10.2018 / 05:58
0
answers

json_encode returns null in one situation and in another it returns the correct values

Good morning, I'm almost finishing an application, but I'm stuck in this situation. I made a simple system of registration and login just to store values of the mobile in mysql, it saves all the correct values, also made a simple ranking system...
asked by 25.09.2018 / 15:12
1
answer

How to use JSON [closed]

I have a link from an API ( link ) I want to know if there's any way I can get it "name": "Norkx", "sex": "female", "vocation": "Royal Paladin", "level": 407, "world": "Inabra" and print in HTML?     
asked by 27.09.2018 / 21:03
1
answer

Get parameters from a RecyclerView

I'm developing an APP where it shows the user the activities to be done on RecyclerView . If he wants details of the activity he can click and see more as description, name and etc. Now I have the following problem get the data from the...
asked by 27.09.2018 / 13:26
0
answers

How to add value of an attribute in different pages of a json document

Hi, I'm a beginner in php I have this problem: I need to add up the total value of each sale of a json, but it is divided into pages! therefore, I need to add the total sales of each page Example: -In page 1: I have 100 orders, ea...
asked by 28.09.2018 / 22:37
0
answers

Function does not return the UID - Firebase

I'm developing an app with ionic 3 and firebase, and I'm encountering a problem, because the function I'm calling is not working as expected. I wanted it to return only the requests with this uid getAll() { var userId = firebase.auth().current...
asked by 20.09.2018 / 20:36
1
answer

Definition of RealTimeDatabase Rules

How should my rules be, so that a logged-in user has access, can read and write only in their requests ??? { "orders": {     "-LMqiTIhAr-VUMKpq8FD": {       "name": "asdasdsa",       "tel": "213"     },     "-LMr1wgwinGyew0rVpWs": {       "...
asked by 20.09.2018 / 16:23
2
answers

Pass array of Json objects to Controller C # .NET

I need to make a post, and so far I'm trying to get AJAX to send an object to the Controller, but I'm having trouble getting the object. View / html: <select name="Servers" id="servers" multiple> <option value='{ "Id": "1",...
asked by 19.09.2018 / 01:22
1
answer

Is it possible to edit a JSON file locally?

I am starting to learn how to use JSON and would like to know if it is possible to do operations with it (read and write) locally. Basically a .json file with some data and an HTML file. Is it possible to access this data and include it co...
asked by 18.09.2018 / 02:52
0
answers

File_Put_Contents writes only half of the data

So I'm having a problem with my code, query, for, foreach and if work perfectly. However file_put_contents writes only half of the reported data. My goal with this code is basically to make a query of the bank, to return the result and in array...
asked by 18.09.2018 / 03:40