From 6b0d2fae21ec6b81e3057c65c6b1c523d4887307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danie=CC=88l=20Schenk?= Date: Sun, 23 Sep 2018 18:16:20 +0200 Subject: [PATCH 1/2] Add library.json for use with PlatformIO By adding this file, the library can be added to PlatformIO's library registry. This way, projects built with PlatformIO can depend on json11 and it will be automatically downloaded from GitHub and linked with the final program. --- library.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 library.json diff --git a/library.json b/library.json new file mode 100644 index 0000000..cc470c1 --- /dev/null +++ b/library.json @@ -0,0 +1,19 @@ +{ + "name": "json11", + "description": "A tiny JSON library for C++11.", + "keywords": "json", + "repository": { + "type": "git", + "url": "https://github.com/dropbox/json11" + }, + "version": "1.0.0", + "license": "MIT", + "build": { + "srcFilter": "+<*> -" + }, + "export": { + "exclude": [ + "test.cpp" + ] + } +} From a48acdc7c30421166534cdd4637e57d8ae86439c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Schenk?= Date: Sat, 6 Sep 2025 22:58:05 +0200 Subject: [PATCH 2/2] fix missing include --- json11.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/json11.cpp b/json11.cpp index 9647846..696a403 100644 --- a/json11.cpp +++ b/json11.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include namespace json11 {