diff --git a/ArduinoJson.h b/ArduinoJson.h index f982325c..ba9d3c72 100644 --- a/ArduinoJson.h +++ b/ArduinoJson.h @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! // About this file // --------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index a1d64212..3dcfa7ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright Benoit Blanchon 2014-2016 +# MIT License +# +# Arduino JSON library +# https://github.com/bblanchon/ArduinoJson +# If you like this project, please add a star! + cmake_minimum_required(VERSION 2.8.12) project(ArduinoJson) diff --git a/LICENSE.md b/LICENSE.md index 1da4b185..fea79d80 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,7 +1,7 @@ The MIT License (MIT) --------------------- -Copyright © 2014-2015 Benoit BLANCHON +Copyright © 2014-2016 Benoit BLANCHON Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/examples/IndentedPrintExample/IndentedPrintExample.ino b/examples/IndentedPrintExample/IndentedPrintExample.ino index 4c7cd33a..9e86f0f5 100644 --- a/examples/IndentedPrintExample/IndentedPrintExample.ino +++ b/examples/IndentedPrintExample/IndentedPrintExample.ino @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include diff --git a/examples/JsonGeneratorExample/JsonGeneratorExample.ino b/examples/JsonGeneratorExample/JsonGeneratorExample.ino index 52076ee6..abf0ea95 100644 --- a/examples/JsonGeneratorExample/JsonGeneratorExample.ino +++ b/examples/JsonGeneratorExample/JsonGeneratorExample.ino @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include diff --git a/examples/JsonParserExample/JsonParserExample.ino b/examples/JsonParserExample/JsonParserExample.ino index 33a472ec..fad4a5ad 100644 --- a/examples/JsonParserExample/JsonParserExample.ino +++ b/examples/JsonParserExample/JsonParserExample.ino @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include diff --git a/examples/JsonUdpBeacon/JsonUdpBeacon.ino b/examples/JsonUdpBeacon/JsonUdpBeacon.ino index e1f54e88..7b5c77cd 100644 --- a/examples/JsonUdpBeacon/JsonUdpBeacon.ino +++ b/examples/JsonUdpBeacon/JsonUdpBeacon.ino @@ -3,7 +3,7 @@ // You can easily test this program with netcat: // $ nc -ulp 8888 // -// by Benoit Blanchon, MIT License 2015 +// by Benoit Blanchon, MIT License 2015-2016 #include #include diff --git a/include/ArduinoJson.h b/include/ArduinoJson.h index 2eacc7cd..1fd70a79 100644 --- a/include/ArduinoJson.h +++ b/include/ArduinoJson.h @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "ArduinoJson/DynamicJsonBuffer.hpp" #include "ArduinoJson/JsonArray.hpp" diff --git a/include/ArduinoJson/Arduino/Print.hpp b/include/ArduinoJson/Arduino/Print.hpp index 93f94539..0a3baa93 100644 --- a/include/ArduinoJson/Arduino/Print.hpp +++ b/include/ArduinoJson/Arduino/Print.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Arduino/String.hpp b/include/ArduinoJson/Arduino/String.hpp index 8c1b9a57..9b9536e2 100644 --- a/include/ArduinoJson/Arduino/String.hpp +++ b/include/ArduinoJson/Arduino/String.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/DynamicJsonBuffer.hpp b/include/ArduinoJson/DynamicJsonBuffer.hpp index a57f8dff..7dc5b2e8 100644 --- a/include/ArduinoJson/DynamicJsonBuffer.hpp +++ b/include/ArduinoJson/DynamicJsonBuffer.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/BlockJsonBuffer.hpp b/include/ArduinoJson/Internals/BlockJsonBuffer.hpp index b9bf02ea..66f72219 100644 --- a/include/ArduinoJson/Internals/BlockJsonBuffer.hpp +++ b/include/ArduinoJson/Internals/BlockJsonBuffer.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/Comments.hpp b/include/ArduinoJson/Internals/Comments.hpp index bd55b16f..5e065271 100644 --- a/include/ArduinoJson/Internals/Comments.hpp +++ b/include/ArduinoJson/Internals/Comments.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/DummyPrint.hpp b/include/ArduinoJson/Internals/DummyPrint.hpp index 6def4eea..c6779dd2 100644 --- a/include/ArduinoJson/Internals/DummyPrint.hpp +++ b/include/ArduinoJson/Internals/DummyPrint.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/DynamicStringBuilder.hpp b/include/ArduinoJson/Internals/DynamicStringBuilder.hpp index e5595982..0dc64a29 100644 --- a/include/ArduinoJson/Internals/DynamicStringBuilder.hpp +++ b/include/ArduinoJson/Internals/DynamicStringBuilder.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/Encoding.hpp b/include/ArduinoJson/Internals/Encoding.hpp index 09c20b38..cd4288cf 100644 --- a/include/ArduinoJson/Internals/Encoding.hpp +++ b/include/ArduinoJson/Internals/Encoding.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once @@ -32,8 +33,8 @@ class Encoding { } } -private: - static const char _escapeTable[]; + private: + static const char _escapeTable[]; }; } } diff --git a/include/ArduinoJson/Internals/ForceInline.hpp b/include/ArduinoJson/Internals/ForceInline.hpp index 322e30b3..2a189861 100644 --- a/include/ArduinoJson/Internals/ForceInline.hpp +++ b/include/ArduinoJson/Internals/ForceInline.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/IndentedPrint.hpp b/include/ArduinoJson/Internals/IndentedPrint.hpp index 038eb9e1..ebffc700 100644 --- a/include/ArduinoJson/Internals/IndentedPrint.hpp +++ b/include/ArduinoJson/Internals/IndentedPrint.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/JsonBufferAllocated.hpp b/include/ArduinoJson/Internals/JsonBufferAllocated.hpp index b06ce6cf..05b88785 100644 --- a/include/ArduinoJson/Internals/JsonBufferAllocated.hpp +++ b/include/ArduinoJson/Internals/JsonBufferAllocated.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/JsonFloat.hpp b/include/ArduinoJson/Internals/JsonFloat.hpp index 00622889..7af5d3bc 100644 --- a/include/ArduinoJson/Internals/JsonFloat.hpp +++ b/include/ArduinoJson/Internals/JsonFloat.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/JsonInteger.hpp b/include/ArduinoJson/Internals/JsonInteger.hpp index 18c11185..912107fa 100644 --- a/include/ArduinoJson/Internals/JsonInteger.hpp +++ b/include/ArduinoJson/Internals/JsonInteger.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/JsonParser.hpp b/include/ArduinoJson/Internals/JsonParser.hpp index 69ea2503..2e435ab9 100644 --- a/include/ArduinoJson/Internals/JsonParser.hpp +++ b/include/ArduinoJson/Internals/JsonParser.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/JsonPrintable.hpp b/include/ArduinoJson/Internals/JsonPrintable.hpp index 120ca21f..07381c7a 100644 --- a/include/ArduinoJson/Internals/JsonPrintable.hpp +++ b/include/ArduinoJson/Internals/JsonPrintable.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/JsonVariantContent.hpp b/include/ArduinoJson/Internals/JsonVariantContent.hpp index 48a195b9..23291c08 100644 --- a/include/ArduinoJson/Internals/JsonVariantContent.hpp +++ b/include/ArduinoJson/Internals/JsonVariantContent.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/JsonVariantType.hpp b/include/ArduinoJson/Internals/JsonVariantType.hpp index 8650c243..b09ca1bf 100644 --- a/include/ArduinoJson/Internals/JsonVariantType.hpp +++ b/include/ArduinoJson/Internals/JsonVariantType.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/JsonWriter.hpp b/include/ArduinoJson/Internals/JsonWriter.hpp index 68df3670..f201ca48 100644 --- a/include/ArduinoJson/Internals/JsonWriter.hpp +++ b/include/ArduinoJson/Internals/JsonWriter.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/List.hpp b/include/ArduinoJson/Internals/List.hpp index d5dc5976..36e1af67 100644 --- a/include/ArduinoJson/Internals/List.hpp +++ b/include/ArduinoJson/Internals/List.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/ListConstIterator.hpp b/include/ArduinoJson/Internals/ListConstIterator.hpp index b04ccc8b..3be0e5f1 100644 --- a/include/ArduinoJson/Internals/ListConstIterator.hpp +++ b/include/ArduinoJson/Internals/ListConstIterator.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/ListIterator.hpp b/include/ArduinoJson/Internals/ListIterator.hpp index 65eae5ed..5369cc5f 100644 --- a/include/ArduinoJson/Internals/ListIterator.hpp +++ b/include/ArduinoJson/Internals/ListIterator.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/ListNode.hpp b/include/ArduinoJson/Internals/ListNode.hpp index 902c7973..9af770aa 100644 --- a/include/ArduinoJson/Internals/ListNode.hpp +++ b/include/ArduinoJson/Internals/ListNode.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/Prettyfier.hpp b/include/ArduinoJson/Internals/Prettyfier.hpp index bbecc4dc..3634f3ef 100644 --- a/include/ArduinoJson/Internals/Prettyfier.hpp +++ b/include/ArduinoJson/Internals/Prettyfier.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/ReferenceType.hpp b/include/ArduinoJson/Internals/ReferenceType.hpp index 1996b383..41fe402e 100644 --- a/include/ArduinoJson/Internals/ReferenceType.hpp +++ b/include/ArduinoJson/Internals/ReferenceType.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/StaticStringBuilder.hpp b/include/ArduinoJson/Internals/StaticStringBuilder.hpp index f93a6414..037551ed 100644 --- a/include/ArduinoJson/Internals/StaticStringBuilder.hpp +++ b/include/ArduinoJson/Internals/StaticStringBuilder.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/Internals/StreamPrintAdapter.hpp b/include/ArduinoJson/Internals/StreamPrintAdapter.hpp index 1e2c53b7..dd579259 100644 --- a/include/ArduinoJson/Internals/StreamPrintAdapter.hpp +++ b/include/ArduinoJson/Internals/StreamPrintAdapter.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once @@ -31,4 +32,4 @@ class StreamPrintAdapter : public Print { } } -#endif // ARDUINOJSON_ENABLE_STD_STREAM +#endif // ARDUINOJSON_ENABLE_STD_STREAM diff --git a/include/ArduinoJson/Internals/Unparsed.hpp b/include/ArduinoJson/Internals/Unparsed.hpp index 91db48b1..1063d6f0 100644 --- a/include/ArduinoJson/Internals/Unparsed.hpp +++ b/include/ArduinoJson/Internals/Unparsed.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonArray.hpp b/include/ArduinoJson/JsonArray.hpp index afd5faf7..6bb72c04 100644 --- a/include/ArduinoJson/JsonArray.hpp +++ b/include/ArduinoJson/JsonArray.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonArray.ipp b/include/ArduinoJson/JsonArray.ipp index 3b208449..991e1a8d 100644 --- a/include/ArduinoJson/JsonArray.ipp +++ b/include/ArduinoJson/JsonArray.ipp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonArraySubscript.hpp b/include/ArduinoJson/JsonArraySubscript.hpp index ecf89991..4609fb47 100644 --- a/include/ArduinoJson/JsonArraySubscript.hpp +++ b/include/ArduinoJson/JsonArraySubscript.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonBuffer.hpp b/include/ArduinoJson/JsonBuffer.hpp index e9bd9d05..1e1db21a 100644 --- a/include/ArduinoJson/JsonBuffer.hpp +++ b/include/ArduinoJson/JsonBuffer.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonObject.hpp b/include/ArduinoJson/JsonObject.hpp index 69184a14..f263f487 100644 --- a/include/ArduinoJson/JsonObject.hpp +++ b/include/ArduinoJson/JsonObject.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonObject.ipp b/include/ArduinoJson/JsonObject.ipp index 9a414429..35643e75 100644 --- a/include/ArduinoJson/JsonObject.ipp +++ b/include/ArduinoJson/JsonObject.ipp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonObjectKey.hpp b/include/ArduinoJson/JsonObjectKey.hpp index a9a398a5..b73573da 100644 --- a/include/ArduinoJson/JsonObjectKey.hpp +++ b/include/ArduinoJson/JsonObjectKey.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonObjectSubscript.hpp b/include/ArduinoJson/JsonObjectSubscript.hpp index 88c5b942..f46a86b6 100644 --- a/include/ArduinoJson/JsonObjectSubscript.hpp +++ b/include/ArduinoJson/JsonObjectSubscript.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonPair.hpp b/include/ArduinoJson/JsonPair.hpp index 0b6122be..38b9ed6b 100644 --- a/include/ArduinoJson/JsonPair.hpp +++ b/include/ArduinoJson/JsonPair.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonSubscriptBase.hpp b/include/ArduinoJson/JsonSubscriptBase.hpp index 86508523..595d14ca 100644 --- a/include/ArduinoJson/JsonSubscriptBase.hpp +++ b/include/ArduinoJson/JsonSubscriptBase.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonVariant.hpp b/include/ArduinoJson/JsonVariant.hpp index 97997248..d110f59c 100644 --- a/include/ArduinoJson/JsonVariant.hpp +++ b/include/ArduinoJson/JsonVariant.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonVariant.ipp b/include/ArduinoJson/JsonVariant.ipp index c1b2a7f2..4a15e1dd 100644 --- a/include/ArduinoJson/JsonVariant.ipp +++ b/include/ArduinoJson/JsonVariant.ipp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/JsonVariantBase.hpp b/include/ArduinoJson/JsonVariantBase.hpp index 87cd081d..95f328e1 100644 --- a/include/ArduinoJson/JsonVariantBase.hpp +++ b/include/ArduinoJson/JsonVariantBase.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/include/ArduinoJson/StaticJsonBuffer.hpp b/include/ArduinoJson/StaticJsonBuffer.hpp index 9631bdba..ce4172fd 100644 --- a/include/ArduinoJson/StaticJsonBuffer.hpp +++ b/include/ArduinoJson/StaticJsonBuffer.hpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #pragma once diff --git a/src/Arduino/Print.cpp b/src/Arduino/Print.cpp index b6a19674..e1e84eba 100644 --- a/src/Arduino/Print.cpp +++ b/src/Arduino/Print.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #ifndef ARDUINO diff --git a/src/ArduinoJson.h b/src/ArduinoJson.h index 033b4e08..2418aa7f 100644 --- a/src/ArduinoJson.h +++ b/src/ArduinoJson.h @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! // About this file // --------------- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a7c1e637..60d3db17 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright Benoit Blanchon 2014-2016 +# MIT License +# +# Arduino JSON library +# https://github.com/bblanchon/ArduinoJson +# If you like this project, please add a star! + file(GLOB_RECURSE HPP_FILES ../include/*.hpp) file(GLOB_RECURSE IPP_FILES ../include/*.ipp) file(GLOB_RECURSE CPP_FILES *.cpp) diff --git a/src/Internals/Comments.cpp b/src/Internals/Comments.cpp index 103d0473..b16d1903 100644 --- a/src/Internals/Comments.cpp +++ b/src/Internals/Comments.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../../include/ArduinoJson/Internals/Comments.hpp" diff --git a/src/Internals/Encoding.cpp b/src/Internals/Encoding.cpp index 0120fffa..afc2c862 100644 --- a/src/Internals/Encoding.cpp +++ b/src/Internals/Encoding.cpp @@ -1,12 +1,14 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../../include/ArduinoJson/Internals/Encoding.hpp" // How to escape special chars: // _escapeTable[2*i+1] => the special char // _escapeTable[2*i] => the char to use instead -const char ArduinoJson::Internals::Encoding::_escapeTable[] = "\"\"\\\\b\bf\fn\nr\rt\t"; +const char ArduinoJson::Internals::Encoding::_escapeTable[] = + "\"\"\\\\b\bf\fn\nr\rt\t"; diff --git a/src/Internals/IndentedPrint.cpp b/src/Internals/IndentedPrint.cpp index f229dfc8..e0c13736 100644 --- a/src/Internals/IndentedPrint.cpp +++ b/src/Internals/IndentedPrint.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../../include/ArduinoJson/Internals/IndentedPrint.hpp" diff --git a/src/Internals/JsonParser.cpp b/src/Internals/JsonParser.cpp index c1a65ee9..32a187f9 100644 --- a/src/Internals/JsonParser.cpp +++ b/src/Internals/JsonParser.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../../include/ArduinoJson/Internals/JsonParser.hpp" diff --git a/src/Internals/List.cpp b/src/Internals/List.cpp index 5275f8fc..4409fbc5 100644 --- a/src/Internals/List.cpp +++ b/src/Internals/List.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../../include/ArduinoJson/Internals/List.hpp" diff --git a/src/Internals/Prettyfier.cpp b/src/Internals/Prettyfier.cpp index b5ff4e45..18d5b19d 100644 --- a/src/Internals/Prettyfier.cpp +++ b/src/Internals/Prettyfier.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../../include/ArduinoJson/Internals/Prettyfier.hpp" diff --git a/src/Internals/StaticStringBuilder.cpp b/src/Internals/StaticStringBuilder.cpp index c172c2cc..e032bce7 100644 --- a/src/Internals/StaticStringBuilder.cpp +++ b/src/Internals/StaticStringBuilder.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../../include/ArduinoJson/Internals/StaticStringBuilder.hpp" diff --git a/src/JsonArray.cpp b/src/JsonArray.cpp index e47d4290..276e66b9 100644 --- a/src/JsonArray.cpp +++ b/src/JsonArray.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../include/ArduinoJson/JsonArray.hpp" diff --git a/src/JsonBuffer.cpp b/src/JsonBuffer.cpp index 755705e5..f0afb765 100644 --- a/src/JsonBuffer.cpp +++ b/src/JsonBuffer.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../include/ArduinoJson/JsonBuffer.hpp" diff --git a/src/JsonObject.cpp b/src/JsonObject.cpp index 8b64023a..6a111239 100644 --- a/src/JsonObject.cpp +++ b/src/JsonObject.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../include/ArduinoJson/JsonObject.hpp" diff --git a/src/JsonVariant.cpp b/src/JsonVariant.cpp index 4b4cb0dc..3393e81c 100644 --- a/src/JsonVariant.cpp +++ b/src/JsonVariant.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include "../include/ArduinoJson/JsonVariant.hpp" diff --git a/test/ArduinoString_Tests.cpp b/test/ArduinoString_Tests.cpp index e80bcebc..1557dd5e 100644 --- a/test/ArduinoString_Tests.cpp +++ b/test/ArduinoString_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5e447690..953c1319 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright Benoit Blanchon 2014-2016 +# MIT License +# +# Arduino JSON library +# https://github.com/bblanchon/ArduinoJson +# If you like this project, please add a star! + set(GTEST_DIR ../third-party/gtest-1.7.0) file(GLOB TESTS_FILES *.hpp *.cpp) diff --git a/test/DynamicJsonBuffer_Array_Tests.cpp b/test/DynamicJsonBuffer_Array_Tests.cpp index 28c848d4..3f0c6c13 100644 --- a/test/DynamicJsonBuffer_Array_Tests.cpp +++ b/test/DynamicJsonBuffer_Array_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/DynamicJsonBuffer_Basic_Tests.cpp b/test/DynamicJsonBuffer_Basic_Tests.cpp index 546a3abd..798f9629 100644 --- a/test/DynamicJsonBuffer_Basic_Tests.cpp +++ b/test/DynamicJsonBuffer_Basic_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include diff --git a/test/DynamicJsonBuffer_NoMemory_Tests.cpp b/test/DynamicJsonBuffer_NoMemory_Tests.cpp index f93d9a88..abdb87f9 100644 --- a/test/DynamicJsonBuffer_NoMemory_Tests.cpp +++ b/test/DynamicJsonBuffer_NoMemory_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/DynamicJsonBuffer_Object_Tests.cpp b/test/DynamicJsonBuffer_Object_Tests.cpp index 01d499b0..5188d1a9 100644 --- a/test/DynamicJsonBuffer_Object_Tests.cpp +++ b/test/DynamicJsonBuffer_Object_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/GbathreeBug.cpp b/test/GbathreeBug.cpp index 96885d71..b17e7843 100644 --- a/test/GbathreeBug.cpp +++ b/test/GbathreeBug.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/IntegrationTests.cpp b/test/IntegrationTests.cpp index db36c025..5dfb03c2 100644 --- a/test/IntegrationTests.cpp +++ b/test/IntegrationTests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/Issue10.cpp b/test/Issue10.cpp index 883a187d..7a60a598 100644 --- a/test/Issue10.cpp +++ b/test/Issue10.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/Issue34.cpp b/test/Issue34.cpp index 9eef03e2..4f6b0f5c 100644 --- a/test/Issue34.cpp +++ b/test/Issue34.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/Issue67.cpp b/test/Issue67.cpp index c665e140..2bbc6421 100644 --- a/test/Issue67.cpp +++ b/test/Issue67.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/Issue90.cpp b/test/Issue90.cpp index cfffefac..5ce04879 100644 --- a/test/Issue90.cpp +++ b/test/Issue90.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include // for LONG_MAX diff --git a/test/JsonArray_Add_Tests.cpp b/test/JsonArray_Add_Tests.cpp index d9c78f8f..3c2b20da 100644 --- a/test/JsonArray_Add_Tests.cpp +++ b/test/JsonArray_Add_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonArray_Basic_Tests.cpp b/test/JsonArray_Basic_Tests.cpp index 67fe6780..2a9ab427 100644 --- a/test/JsonArray_Basic_Tests.cpp +++ b/test/JsonArray_Basic_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonArray_Invalid_Tests.cpp b/test/JsonArray_Invalid_Tests.cpp index 95886d37..55664bad 100644 --- a/test/JsonArray_Invalid_Tests.cpp +++ b/test/JsonArray_Invalid_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonArray_Iterator_Tests.cpp b/test/JsonArray_Iterator_Tests.cpp index ac7c9324..842ae69d 100644 --- a/test/JsonArray_Iterator_Tests.cpp +++ b/test/JsonArray_Iterator_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonArray_PrettyPrintTo_Tests.cpp b/test/JsonArray_PrettyPrintTo_Tests.cpp index 05fd4809..0ef47af0 100644 --- a/test/JsonArray_PrettyPrintTo_Tests.cpp +++ b/test/JsonArray_PrettyPrintTo_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonArray_PrintTo_Tests.cpp b/test/JsonArray_PrintTo_Tests.cpp index 0afbafec..0f936709 100644 --- a/test/JsonArray_PrintTo_Tests.cpp +++ b/test/JsonArray_PrintTo_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonArray_Remove_Tests.cpp b/test/JsonArray_Remove_Tests.cpp index 53d1140b..dd6796cd 100644 --- a/test/JsonArray_Remove_Tests.cpp +++ b/test/JsonArray_Remove_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonArray_Set_Tests.cpp b/test/JsonArray_Set_Tests.cpp index a652e9f4..2c550ed2 100644 --- a/test/JsonArray_Set_Tests.cpp +++ b/test/JsonArray_Set_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonArray_Subscript_Tests.cpp b/test/JsonArray_Subscript_Tests.cpp index fbe06674..874fc7ca 100644 --- a/test/JsonArray_Subscript_Tests.cpp +++ b/test/JsonArray_Subscript_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonObject_Basic_Tests.cpp b/test/JsonObject_Basic_Tests.cpp index 166262e9..dab2f097 100644 --- a/test/JsonObject_Basic_Tests.cpp +++ b/test/JsonObject_Basic_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonObject_ContainsKey_Tests.cpp b/test/JsonObject_ContainsKey_Tests.cpp index ace78e73..65e3122a 100644 --- a/test/JsonObject_ContainsKey_Tests.cpp +++ b/test/JsonObject_ContainsKey_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonObject_Invalid_Tests.cpp b/test/JsonObject_Invalid_Tests.cpp index 28eb63d2..96c129b2 100644 --- a/test/JsonObject_Invalid_Tests.cpp +++ b/test/JsonObject_Invalid_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonObject_Iterator_Tests.cpp b/test/JsonObject_Iterator_Tests.cpp index 0fee5189..cff8f2e6 100644 --- a/test/JsonObject_Iterator_Tests.cpp +++ b/test/JsonObject_Iterator_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonObject_PrettyPrintTo_Tests.cpp b/test/JsonObject_PrettyPrintTo_Tests.cpp index c02efcf2..9f32d298 100644 --- a/test/JsonObject_PrettyPrintTo_Tests.cpp +++ b/test/JsonObject_PrettyPrintTo_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonObject_PrintTo_Tests.cpp b/test/JsonObject_PrintTo_Tests.cpp index 60f7ce2e..2c2f631f 100644 --- a/test/JsonObject_PrintTo_Tests.cpp +++ b/test/JsonObject_PrintTo_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonObject_Remove_Tests.cpp b/test/JsonObject_Remove_Tests.cpp index 174efe3c..8fa44279 100644 --- a/test/JsonObject_Remove_Tests.cpp +++ b/test/JsonObject_Remove_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonObject_Set_Tests.cpp b/test/JsonObject_Set_Tests.cpp index cb08c9ef..cb86d7c8 100644 --- a/test/JsonObject_Set_Tests.cpp +++ b/test/JsonObject_Set_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonObject_Subscript_Tests.cpp b/test/JsonObject_Subscript_Tests.cpp index b9abfa6f..0708310a 100644 --- a/test/JsonObject_Subscript_Tests.cpp +++ b/test/JsonObject_Subscript_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonParser_Array_Tests.cpp b/test/JsonParser_Array_Tests.cpp index f773cfca..5d4eeeca 100644 --- a/test/JsonParser_Array_Tests.cpp +++ b/test/JsonParser_Array_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonParser_Nested_Tests.cpp b/test/JsonParser_Nested_Tests.cpp index a21e6340..a9e2a956 100644 --- a/test/JsonParser_Nested_Tests.cpp +++ b/test/JsonParser_Nested_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonParser_NestingLimit_Tests.cpp b/test/JsonParser_NestingLimit_Tests.cpp index 7031c017..dde8edba 100644 --- a/test/JsonParser_NestingLimit_Tests.cpp +++ b/test/JsonParser_NestingLimit_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonParser_Object_Tests.cpp b/test/JsonParser_Object_Tests.cpp index eb0e0e40..1b466297 100644 --- a/test/JsonParser_Object_Tests.cpp +++ b/test/JsonParser_Object_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonVariant_As_Tests.cpp b/test/JsonVariant_As_Tests.cpp index e4278514..386a0aa4 100644 --- a/test/JsonVariant_As_Tests.cpp +++ b/test/JsonVariant_As_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonVariant_Comparison_Tests.cpp b/test/JsonVariant_Comparison_Tests.cpp index f155e733..69cdadbe 100644 --- a/test/JsonVariant_Comparison_Tests.cpp +++ b/test/JsonVariant_Comparison_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonVariant_Copy_Tests.cpp b/test/JsonVariant_Copy_Tests.cpp index b49828c5..75b96752 100644 --- a/test/JsonVariant_Copy_Tests.cpp +++ b/test/JsonVariant_Copy_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonVariant_Is_Tests.cpp b/test/JsonVariant_Is_Tests.cpp index 1cc19136..96a1d18c 100644 --- a/test/JsonVariant_Is_Tests.cpp +++ b/test/JsonVariant_Is_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonVariant_PrintTo_Tests.cpp b/test/JsonVariant_PrintTo_Tests.cpp index 635a209d..ed2ca8a4 100644 --- a/test/JsonVariant_PrintTo_Tests.cpp +++ b/test/JsonVariant_PrintTo_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonVariant_Storage_Tests.cpp b/test/JsonVariant_Storage_Tests.cpp index b4fcf8ff..86623b65 100644 --- a/test/JsonVariant_Storage_Tests.cpp +++ b/test/JsonVariant_Storage_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonVariant_Subscript_Tests.cpp b/test/JsonVariant_Subscript_Tests.cpp index 15a68b86..069b95f9 100644 --- a/test/JsonVariant_Subscript_Tests.cpp +++ b/test/JsonVariant_Subscript_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/JsonVariant_Undefined_Tests.cpp b/test/JsonVariant_Undefined_Tests.cpp index fd072960..9c49c465 100644 --- a/test/JsonVariant_Undefined_Tests.cpp +++ b/test/JsonVariant_Undefined_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #define ARDUINOJSON_ENABLE_STD_STREAM diff --git a/test/JsonWriter_WriteString_Tests.cpp b/test/JsonWriter_WriteString_Tests.cpp index c9f1bd20..c2f1ea17 100644 --- a/test/JsonWriter_WriteString_Tests.cpp +++ b/test/JsonWriter_WriteString_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include diff --git a/test/StaticJsonBuffer_Basic_Tests.cpp b/test/StaticJsonBuffer_Basic_Tests.cpp index 73a27203..08f10a6e 100644 --- a/test/StaticJsonBuffer_Basic_Tests.cpp +++ b/test/StaticJsonBuffer_Basic_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include diff --git a/test/StaticJsonBuffer_CreateArray_Tests.cpp b/test/StaticJsonBuffer_CreateArray_Tests.cpp index dffe62ac..1781b98f 100644 --- a/test/StaticJsonBuffer_CreateArray_Tests.cpp +++ b/test/StaticJsonBuffer_CreateArray_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/StaticJsonBuffer_CreateObject_Tests.cpp b/test/StaticJsonBuffer_CreateObject_Tests.cpp index fc46dba9..05cdcb87 100644 --- a/test/StaticJsonBuffer_CreateObject_Tests.cpp +++ b/test/StaticJsonBuffer_CreateObject_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/StaticJsonBuffer_ParseArray_Tests.cpp b/test/StaticJsonBuffer_ParseArray_Tests.cpp index 0aa858f4..8cb253f7 100644 --- a/test/StaticJsonBuffer_ParseArray_Tests.cpp +++ b/test/StaticJsonBuffer_ParseArray_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/StaticJsonBuffer_ParseObject_Tests.cpp b/test/StaticJsonBuffer_ParseObject_Tests.cpp index bae340ed..532fbc30 100644 --- a/test/StaticJsonBuffer_ParseObject_Tests.cpp +++ b/test/StaticJsonBuffer_ParseObject_Tests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include diff --git a/test/StdStream.cpp b/test/StdStream.cpp index 8fddc8ee..4414cd0e 100644 --- a/test/StdStream.cpp +++ b/test/StdStream.cpp @@ -1,29 +1,30 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include #define ARDUINOJSON_ENABLE_STD_STREAM #include -TEST(StdStream, JsonVariantFalse) { +TEST(StdStream, JsonVariantFalse) { std::ostringstream os; JsonVariant variant = false; os << variant; ASSERT_EQ("false", os.str()); } -TEST(StdStream, JsonVariantString) { +TEST(StdStream, JsonVariantString) { std::ostringstream os; JsonVariant variant = "coucou"; os << variant; ASSERT_EQ("\"coucou\"", os.str()); } -TEST(StdStream, JsonObject) { +TEST(StdStream, JsonObject) { std::ostringstream os; DynamicJsonBuffer jsonBuffer; JsonObject& object = jsonBuffer.createObject(); @@ -32,7 +33,7 @@ TEST(StdStream, JsonObject) { ASSERT_EQ("{\"key\":\"value\"}", os.str()); } -TEST(StdStream, JsonObjectSubscript) { +TEST(StdStream, JsonObjectSubscript) { std::ostringstream os; DynamicJsonBuffer jsonBuffer; JsonObject& object = jsonBuffer.createObject(); @@ -41,7 +42,7 @@ TEST(StdStream, JsonObjectSubscript) { ASSERT_EQ("\"value\"", os.str()); } -TEST(StdStream, JsonArray) { +TEST(StdStream, JsonArray) { std::ostringstream os; DynamicJsonBuffer jsonBuffer; JsonArray& array = jsonBuffer.createArray(); @@ -50,7 +51,7 @@ TEST(StdStream, JsonArray) { ASSERT_EQ("[\"value\"]", os.str()); } -TEST(StdStream, JsonArraySubscript) { +TEST(StdStream, JsonArraySubscript) { std::ostringstream os; DynamicJsonBuffer jsonBuffer; JsonArray& array = jsonBuffer.createArray(); @@ -58,5 +59,3 @@ TEST(StdStream, JsonArraySubscript) { os << array[0]; ASSERT_EQ("\"value\"", os.str()); } - - diff --git a/test/StringBuilderTests.cpp b/test/StringBuilderTests.cpp index c00377d1..7eedd769 100644 --- a/test/StringBuilderTests.cpp +++ b/test/StringBuilderTests.cpp @@ -1,8 +1,9 @@ -// Copyright Benoit Blanchon 2014-2015 +// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson +// If you like this project, please add a star! #include #include