Questions tagged as 'json'

0
answers

500 Internal Server Error in JavaScript

the error of the title already comes to me when it is accessible from the outside, that is to say when it is already "open" to the public, but obviously I have it as hidden; Someone would know the origin of the error since it gives me error in t...
asked by 20.08.2018 / 10:11
0
answers

Incorrect type. Expected "array"

I think this is what does not allow me to compile my electronjs app I've thrown three days, but I do not understand how to put it in order or what you ask, can you help me?     
asked by 29.08.2018 / 01:03
1
answer

Access JSON obtained through AJAX

I have a problem, no matter how hard I look for it, I can not find how I can access the array that I obtained after having made a query using AJX with PHP and sent the result in JSON format to javascript. I hope you can help me, I do not underst...
asked by 28.08.2018 / 22:38
0
answers

Problems when using bb_serial_read python

These are developing a small panel of monitoring in flask and I want to acquire some data from the serial port, the function that I am using to acquire the serial is: import wiringpi import wiringpi2 #as wiringpi import random import time impo...
asked by 29.08.2018 / 00:08
0
answers

Error trying to assign result to object

When I try to assign values to an object from a deialized result (from an API, JSon). I get the following error: Unexpected token while deserializing object: PropertyName. Path 'studentID'. Here is part of my code: resultJSonRequest = re...
asked by 14.08.2018 / 20:17
1
answer

Using apiDoc Problems with apidoc.json file

I need to document API's and I'm testing with apiDoc. I followed a step-by-step tutorial. however I get this kind of error in the cmd apidoc.json ... create a configuration file apidoc.json which I already believe // Does anyone have any s...
asked by 19.08.2018 / 06:35
1
answer

Pass data between different components in react

My question is how can I pass data from a JSON rescued in the main component import React, {Component} from 'react'; import { NavLink } from 'react-router-dom'; import Video from './Video'; class Home extends Component{ co...
asked by 19.08.2018 / 21:24
2
answers

consume data from a JSON file in angular2 +

I need to get data from an external file, for example leave 2 service paths in an external file inside the assets folder, then from the servicio.ts get those URLs from the external file. is it possible to obtain data from an extern...
asked by 11.05.2018 / 04:51
1
answer

How can I compile / obtain the bytecode of this ethereum project

Hi, I asked this question in ethereum but they did not pay much attention to me. etherdelta.sol [{"constant":false,"inputs":[{"name":"tokenGet","type":"address"},{"name":"amountGet","type":"uint256"},{"name":"tokenGive","type":"address"},{"...
asked by 04.08.2018 / 20:29
0
answers

Create query MongoDb with Python2.7

I have the following doubt, I am building a query that performs a massive insertion in mongodb, but part of the data is brought from a function. The following is the function that I use, my problem maybe is with the return def formula(df,W,...
asked by 14.08.2018 / 14:42