diff --git a/ArduinoJson.cpp b/ArduinoJson.cpp new file mode 100644 index 00000000..3040c986 --- /dev/null +++ b/ArduinoJson.cpp @@ -0,0 +1,23 @@ +// Copyright Benoit Blanchon 2014-2015 +// MIT License +// +// Arduino JSON library +// https://github.com/bblanchon/ArduinoJson + +#ifdef ARDUINO + +// This file is here to help the Arduino IDE find the other files. + +#include "src/Arduino/Print.cpp" +#include "src/Internals/IndentedPrint.cpp" +#include "src/Internals/JsonParser.cpp" +#include "src/Internals/List.cpp" +#include "src/Internals/Prettyfier.cpp" +#include "src/Internals/QuotedString.cpp" +#include "src/Internals/StringBuilder.cpp" +#include "src/JsonArray.cpp" +#include "src/JsonBuffer.cpp" +#include "src/JsonObject.cpp" +#include "src/JsonVariant.cpp" + +#endif diff --git a/ArduinoJson.h b/ArduinoJson.h new file mode 100644 index 00000000..36ca6591 --- /dev/null +++ b/ArduinoJson.h @@ -0,0 +1,13 @@ +// Copyright Benoit Blanchon 2014-2015 +// MIT License +// +// Arduino JSON library +// https://github.com/bblanchon/ArduinoJson + +#ifdef ARDUINO + +// This file is here to help the Arduino IDE find the other files. + +#include "include/ArduinoJson.h" + +#endif diff --git a/library.properties b/library.properties deleted file mode 100644 index cb9b8e45..00000000 --- a/library.properties +++ /dev/null @@ -1,8 +0,0 @@ -name=ArduinoJson -version=4.0 -author=Benoit Blanchon -maintainer=Benoit Blanchon -sentence=An efficient and elegant JSON library for Arduino -paragraph=Supports JSON parsing and formatting. Uses fixed memory allocation. -url=https://github.com/bblanchon/ArduinoJson -architectures=* \ No newline at end of file diff --git a/scripts/build-arduino-package.sh b/scripts/build-arduino-package.sh index ad9c2325..f91481a4 100755 --- a/scripts/build-arduino-package.sh +++ b/scripts/build-arduino-package.sh @@ -15,7 +15,9 @@ rm -f $OUTPUT ArduinoJson/examples \ ArduinoJson/include \ ArduinoJson/keywords.txt \ - ArduinoJson/library.properties \ ArduinoJson/LICENSE.md \ ArduinoJson/README.md \ - ArduinoJson/src + ArduinoJson/src \ + ArduinoJson/ArduinoJson.h \ + ArduinoJson/ArduinoJson.cpp \ + -x!ArduinoJson/src/CMakeLists.txt \ No newline at end of file diff --git a/src/ArduinoJson.h b/src/ArduinoJson.h deleted file mode 100644 index 2fa636fd..00000000 --- a/src/ArduinoJson.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright Benoit Blanchon 2014 -// MIT License -// -// Arduino JSON library -// https://github.com/bblanchon/ArduinoJson - -// About this file -// --------------- -// This file is here to please the Arduino IDE. It must be present in the src/ -// for the IDE to find it. Feel free to ignore this file if your working in -// another environment - -#include "../include/ArduinoJson.h"