Skip to content

Commit 7e7a05d

Browse files
committed
Correct typos in comments and documentation
1 parent 1377727 commit 7e7a05d

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

examples/JSONArray/JSONArray.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
JSON Array
33
44
This sketch demonstrates how to use various features
5-
of the Official Arduino JSON library, in particular for JSON arrays.
5+
of the Official Arduino_JSON library, in particular for JSON arrays.
66
77
This example code is in the public domain.
88
*/
@@ -29,7 +29,7 @@ void demoParse() {
2929

3030
JSONVar myArray = JSON.parse(input);
3131

32-
// JSON.typeof(jsonVar) can be used to get the type of the var
32+
// JSON.typeof(jsonVar) can be used to get the type of the variable
3333
if (JSON.typeof(myArray) == "undefined") {
3434
Serial.println("Parsing input failed!");
3535
return;
@@ -77,7 +77,7 @@ void demoCreation() {
7777
Serial.print("myArray.length() = ");
7878
Serial.println(myArray.length());
7979

80-
// JSON.stringify(myVar) can be used to convert the json var to a String
80+
// JSON.stringify(myVar) can be used to convert the JSONVar to a String
8181
String jsonString = JSON.stringify(myArray);
8282

8383
Serial.print("JSON.stringify(myArray) = ");

examples/JSONKitchenSink/JSONKitchenSink.ino

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

examples/JSONObject/JSONObject.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
JSON Object
33
44
This sketch demonstrates how to use various features
5-
of the Official Arduino JSON library, in particular for JSON objects.
5+
of the Official Arduino_JSON library, in particular for JSON objects.
66
77
This example code is in the public domain.
88
*/
@@ -29,7 +29,7 @@ void demoParse() {
2929

3030
JSONVar myObject = JSON.parse(input);
3131

32-
// JSON.typeof(jsonVar) can be used to get the type of the var
32+
// JSON.typeof(jsonVar) can be used to get the type of the variable
3333
if (JSON.typeof(myObject) == "undefined") {
3434
Serial.println("Parsing input failed!");
3535
return;
@@ -63,7 +63,7 @@ void demoParse() {
6363
Serial.println((const char*) myObject["foo"]);
6464
}
6565

66-
// JSON vars can be printed using print or println
66+
// JSONVars can be printed using print or println
6767
Serial.print("myObject = ");
6868
Serial.println(myObject);
6969

@@ -83,7 +83,7 @@ void demoCreation() {
8383
Serial.print("myObject.keys() = ");
8484
Serial.println(myObject.keys());
8585

86-
// JSON.stringify(myVar) can be used to convert the json var to a String
86+
// JSON.stringify(myVar) can be used to convert the JSONVar to a String
8787
String jsonString = JSON.stringify(myObject);
8888

8989
Serial.print("JSON.stringify(myObject) = ");

keywords.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#######################################
2-
# Syntax Coloring Map For JSON
2+
# Syntax Coloring Map For Arduino_JSON
33
#######################################
44
# Class
55
#######################################

src/Arduino_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 Arduino 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.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 Arduino 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 Arduino 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 Arduino 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 Arduino 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)