Questions tagged [json]

The tag has no usage guidance.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
55 views

Reducing json upload time

I'm using an ESP32 WROOM board to capture some data in the field and send it over using arduino json. However, the complete process of sending and receiving confirmation takes up around 12 seconds and ...
1
vote
0answers
1k views

Convert String data To char Array in Arduino

I'm able to get json data and storing in String object, now i want to convert string into Char Array for parsing json data I'm tried with this code, but it is not responding String data = http....
0
votes
0answers
18 views

About split string

Sorry my English is poor. I use nodemcu to get a json data. By this String alldata = client.readString(); But it turn this: HTTP/1.1 200 OK Server: nginx Date: Sat, 10 Aug 2019 04:53:16 GMT ...
0
votes
0answers
52 views

How to get the value of an Arduino/ESP32 variable and use it in a Javascript file?

I have a variable in my ESP32 code. I also have a webserver that displays a HTML page, and in this page I can type a value in a form and send it to that variable via HTTP GET request. The HTML of ...
0
votes
0answers
62 views

How to get Json String from URL?

I want to get JSON string from a URL which goes like this https://maps.googleapis.com/maps/api/directions/json?origin=7649+Paseo+Santa+Cruz&destination=SJSU&key=MY_API_KEY and here is my ...
0
votes
0answers
112 views

ArduinoJSON v6- Add value to array

I have a JSON file stored in ESP8266, which I read need to add a value and save it back to file on ESP8266. I have an array at when saved at the first time as: JsonArray data = doc....
0
votes
0answers
43 views

RS256 JWT with Arduino

I am working on a project where I am implementing JSON web tokens to validate devices on a server. I have been unable to find many resources related to RS256 JWT with Arduino or similar devices. ...
0
votes
0answers
66 views

Can't parse large json file

For a project I've to parse a big json file. Unfortunately it does not work as expected. Here is the json file: { "data1": "...
0
votes
0answers
52 views

SerializeJson not working when using softserial

IDE:1.8.8 Board:Arduino UNO When I use the code below, I get result of print like this. { "result": [ { "ID": "01", "Value": [ "2", "1", "13" ] } ] } But when I use SoftwareSerial and in the setup ...
0
votes
0answers
41 views

Losing value of variable

I am making a project involving the AutoConnect, ArduinoJSOn and LedControl libraries to fetch some values from an endpoint. Basically what I do is connect to the internet, fetch the values from a ...
0
votes
0answers
88 views

append a String on ArduinoJson Object value

I've a json string request coming from server and I convert it into json object StaticJsonBuffer<500> jsonStaticBuffer; JsonObject& root = jsonStaticBuffer.parseObject(String(msg)); ...
0
votes
0answers
167 views

Parsing multiple jsonObjects with Arduinojson and return a list of values

I am building a table tennis score board which parses json objects with ID and names of players to let the players pick their name inside a menu and later on submit the scores to my server. But I am ...
0
votes
1answer
128 views

Library Compiler Error - ArduinoJson

I have installed via the Arduino Library Manager a library called ArduinoJson. It seems to install fine and I have included the library in my sketch using: #include "ArduinoJson.h" But when I ...
0
votes
0answers
214 views

JSON woes: parsing JSON with esp8266, can this be more elegant?

A few years back I wrote a program that pulled bus time data from the NYC MTA's "bus time" API and posted it on a wifi-connected OLED on my wall. All was well for a few years, but they changed the ...
-1
votes
1answer
64 views

How to upload sensor data on pubnub IOT with JSON Format?

I am trying to send MPU9250 sensor data to Pubnub IOT platform using node mcu, but not able to do it since the sensor data is not in JSON format. I know about publishing string but don't know about ...
-1
votes
1answer
1k views

Arduino JSON foreach loop

I'm trying to extract values using ArduinoJson. The values aren't fixed, therefore I need to use the foreach loop. I'm trying this, but I can't seem to use the values like I could with. root["0"]["...
-2
votes
0answers
16 views

no matching function for call to 'ArduinoJson::StaticJsonBuffer<1000u>::parseObject(SoftwareSerial&)

/* * Created by K. Suwatchai (Mobizt) * * Email: k_suwatchai@hotmail.com * * Github: https://github.com/mobizt * * Copyright (c) 2019 mobizt * */ //FirebaseESP8266.h must be included ...