Skip to content

Commit 283dffc

Browse files
committed
Switched to the new library layout
1 parent 0aded2a commit 283dffc

File tree

6 files changed

+25
-41
lines changed

6 files changed

+25
-41
lines changed

ArduinoJson.cpp

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

ArduinoJson.h

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

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ v5.0 (currently under development)
55
----
66

77
* Added support of `String` class (issue #55, #56, #70, #77)
8-
* Redesigned `JsonVariant` to leverage converting constructors instead of assignment operators.
8+
* Redesigned `JsonVariant` to leverage converting constructors instead of assignment operators
9+
* Switched to new library layout (requires Arduino 1.0.6 or above)
910

1011
**BREAKING CHANGES**:
1112
- `JsonObject::add()` was renamed to `set()`

library.properties

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name=ArduinoJson
2+
version=5.0.0
3+
author=Benoit Blanchon <blog.benoitblanchon.fr>
4+
maintainer=Benoit Blanchon <blog.benoitblanchon.fr>
5+
sentence=An efficient and elegant JSON library for Arduino.
6+
paragraph=Like this project? Please star it on GitHub!
7+
url=https://github.com/bblanchon/ArduinoJson
8+
architectures=*

scripts/build-arduino-package.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ rm -f $OUTPUT
1515
ArduinoJson/examples \
1616
ArduinoJson/include \
1717
ArduinoJson/keywords.txt \
18+
ArduinoJson/library.properties \
1819
ArduinoJson/LICENSE.md \
1920
ArduinoJson/README.md \
2021
ArduinoJson/src \
21-
ArduinoJson/ArduinoJson.h \
22-
ArduinoJson/ArduinoJson.cpp \
23-
-x!ArduinoJson/src/CMakeLists.txt
22+
-x!ArduinoJson/src/CMakeLists.txt

src/ArduinoJson.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Copyright Benoit Blanchon 2014-2015
2+
// MIT License
3+
//
4+
// Arduino JSON library
5+
// https://github.com/bblanchon/ArduinoJson
6+
7+
// About this file
8+
// ---------------
9+
// This file is here to please the Arduino IDE. It must be present in the src/
10+
// for the IDE to find it. Feel free to ignore this file if your working in
11+
// another environment
12+
13+
#include "../include/ArduinoJson.h"

0 commit comments

Comments
 (0)