Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit db97591

Browse files
authored
Merge pull request #209 from proppy/bump-arduino-json
bump arduino-json to 5.6.7
2 parents 8ec0b43 + 373aaf5 commit db97591

File tree

95 files changed

+1860
-1207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+1860
-1207
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ install:
2222
- ( cd ${ARDUINO_ESP8266_ROOT}/tools && python get.py )
2323
before_script:
2424
- mkdir -p ${ARDUINO_HOME}/libraries
25-
- ( cd ${ARDUINO_HOME}/libraries && ln -s ${TRAVIS_BUILD_DIR} firebase-arduino && ln -s ${TRAVIS_BUILD_DIR}/src/third-party/arduino-json-5.3 ArduinoJson && ln -s ${HOME}/SoftwareSerial ./ && ln -s ${HOME}/Adafruit_NeoPixel ./ && ln -s ${HOME}/Adafruit-GFX-Library ./ && ln -s ${HOME}/Adafruit_SSD1306 ./)
25+
- ( cd ${ARDUINO_HOME}/libraries && ln -s ${TRAVIS_BUILD_DIR} firebase-arduino && ln -s ${TRAVIS_BUILD_DIR}/src/third-party/arduino-json-5.6.7 ArduinoJson && ln -s ${HOME}/SoftwareSerial ./ && ln -s ${HOME}/Adafruit_NeoPixel ./ && ln -s ${HOME}/Adafruit-GFX-Library ./ && ln -s ${HOME}/Adafruit_SSD1306 ./)
2626
script:
2727
- ${ARDUINO_ROOT}/arduino-builder -verbose -hardware ${ARDUINO_ROOT}/hardware/ -tools ${ARDUINO_ESP8266_ROOT}/tools/ -tools ${ARDUINO_ROOT}/tools-builder/ -fqbn esp8266com:esp8266:nodemcuv2 -libraries ${ARDUINO_HOME}/libraries/ -prefs build.flash_ld=${ARDUINO_ESP8266_ROOT}/tools/sdk/ld/eagle.flash.4m.ld -prefs build.flash_freq=40 -prefs build.flash_size=4M examples/FirebaseDemo_ESP8266/FirebaseDemo_ESP8266.ino
2828
- ${ARDUINO_ROOT}/arduino-builder -verbose -hardware ${ARDUINO_ROOT}/hardware/ -tools ${ARDUINO_ESP8266_ROOT}/tools/ -tools ${ARDUINO_ROOT}/tools-builder/ -fqbn esp8266com:esp8266:nodemcuv2 -libraries ${ARDUINO_HOME}/libraries/ -prefs build.flash_ld=${ARDUINO_ESP8266_ROOT}/tools/sdk/ld/eagle.flash.4m.ld -prefs build.flash_freq=40 -prefs build.flash_size=4M examples/FirebaseSerialHost_ESP8266/FirebaseSerialHost_ESP8266.ino

src/Firebase.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@
2424
#include <memory>
2525
#include "FirebaseHttpClient.h"
2626
#include "FirebaseError.h"
27-
// TODO(edcoyne): move this into our mock_arduino fork where we actually do the
28-
// override.
29-
#define ARDUINO_STRING_OVERRIDE
30-
#include "third-party/arduino-json-5.3/include/ArduinoJson.h"
27+
#define ARDUINOJSON_USE_ARDUINO_STRING 1
28+
#include "third-party/arduino-json-5.6.7/include/ArduinoJson.h"
3129

3230
class FirebaseGet;
3331
class FirebaseSet;

src/FirebaseCloudMessaging.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
#include <vector>
2727
#include "FirebaseHttpClient.h"
2828
#include "FirebaseError.h"
29-
#include "third-party/arduino-json-5.3/include/ArduinoJson.h"
29+
#define ARDUINOJSON_USE_ARDUINO_STRING 1
30+
#include "third-party/arduino-json-5.6.7/include/ArduinoJson.h"
3031

3132
// Defines the actual message to the client, for more detail on
3233
// options and settings see:

src/FirebaseObject.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
#ifndef FIREBASE_OBJECT_H
1818
#define FIREBASE_OBJECT_H
1919

20-
#include "third-party/arduino-json-5.3/include/ArduinoJson.h"
20+
#define ARDUINOJSON_USE_ARDUINO_STRING 1
21+
#include "third-party/arduino-json-5.6.7/include/ArduinoJson.h"
2122

2223
#ifndef FIREBASE_JSONBUFFER_SIZE
2324
#define FIREBASE_JSONBUFFER_SIZE JSON_OBJECT_SIZE(32)

src/third-party/arduino-json-5.3/include/ArduinoJson/Internals/Prettyfier.hpp

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/third-party/arduino-json-5.3/include/ArduinoJson/JsonArray.ipp

Lines changed: 0 additions & 101 deletions
This file was deleted.

src/third-party/arduino-json-5.3/include/ArduinoJson/JsonObject.ipp

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)