Skip to content

Commit 79445a2

Browse files
committed
Rename to Arduino_JSON
1 parent 4436cec commit 79445a2

File tree

10 files changed

+39
-13
lines changed

10 files changed

+39
-13
lines changed

examples/JSONArray/JSONArray.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
JSON Array
33
44
This sketch demonstrates how to use various features
5-
of the JSON library, in particular for JSON arrays.
5+
of the Arduino JSON library, in particular for JSON arrays.
66
77
This example code is in the public domain.
88
*/
99

10-
#include <JSON.h>
10+
#include <Arduino_JSON.h>
1111

1212
const char input[] = "[true, 42, \"apple\"]";
1313

examples/JSONKitchenSink/JSONKitchenSink.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
JSON Kitchen Sink
33
44
This sketch demonstrates how to use various features
5-
of the JSON library.
5+
of the Arduino JSON library.
66
77
This example code is in the public domain.
88
*/
99

10-
#include <JSON.h>
10+
#include <Arduino_JSON.h>
1111

1212
void setup() {
1313
Serial.begin(9600);

examples/JSONObject/JSONObject.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
JSON Object
33
44
This sketch demonstrates how to use various features
5-
of the JSON library, in particular for JSON objects.
5+
of the Arduino JSON library, in particular for JSON objects.
66
77
This example code is in the public domain.
88
*/
99

10-
#include <JSON.h>
10+
#include <Arduino_JSON.h>
1111

1212
const char input[] = "{\"result\":true,\"count\":42,\"foo\":\"bar\"}";
1313

keywords.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Class
55
#######################################
66

7+
Arduino_JSON KEYWORD1
78
JSON KEYWORD1
89
JSONVar KEYWORD1
910
var KEYWORD1

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name=JSON
1+
name=Arduino_JSON
22
version=0.0.0
33
author=Arduino
44
maintainer=Arduino <[email protected]>
55
sentence=[BETA] Process JSON in your Arduino sketches.
66
paragraph=
77
category=Other
8-
url=http://github.com/arduino-libraries/JSON
8+
url=http://github.com/arduino-libraries/Arduino_JSON
99
architectures=*
10-
includes=JSON.h
10+
includes=Arduino_JSON.h

src/Arduino_JSON.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
This file is part of the Arduino JSON library.
3+
Copyright (c) 2019 Arduino SA. All rights reserved.
4+
5+
This library is free software; you can redistribute it and/or
6+
modify it under the terms of the GNU Lesser General Public
7+
License as published by the Free Software Foundation; either
8+
version 2.1 of the License, or (at your option) any later version.
9+
10+
This library is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
14+
15+
You should have received a copy of the GNU Lesser General Public
16+
License along with this library; if not, write to the Free Software
17+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18+
*/
19+
20+
#ifndef _ARDUINO_JSON_H_
21+
#define _ARDUINO_JSON_H_
22+
23+
#include "JSON.h"
24+
25+
#endif

src/JSON.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
This file is part of the JSON library.
2+
This file is part of the Arduino JSON library.
33
Copyright (c) 2019 Arduino SA. All rights reserved.
44
55
This library is free software; you can redistribute it and/or

src/JSON.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
This file is part of the JSON library.
2+
This file is part of the Arduino JSON library.
33
Copyright (c) 2019 Arduino SA. All rights reserved.
44
55
This library is free software; you can redistribute it and/or

src/JSONVar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
This file is part of the JSON library.
2+
This file is part of the Arduino JSON library.
33
Copyright (c) 2019 Arduino SA. All rights reserved.
44
55
This library is free software; you can redistribute it and/or

src/JSONVar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
This file is part of the JSON library.
2+
This file is part of the Arduino JSON library.
33
Copyright (c) 2019 Arduino SA. All rights reserved.
44
55
This library is free software; you can redistribute it and/or

0 commit comments

Comments
 (0)