8000 Changed the title · rprand/ArduinoJson@53466a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53466a2

Browse files
committed
Changed the title
1 parent f5a1e1d commit 53466a2

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
A malloc-free JSON parser for Arduino
2-
=====================================
3-
1+
An efficient JSON parser for Arduino
2+
====================================
43

54
This library is an thin C++ wrapper around the *jsmn* tokenizer: http://zserge.com/jsmn.html
65

@@ -10,7 +9,7 @@ It has been written with Arduino in mind, but it isn't linked to Arduino librari
109

1110

1211
Features
13-
-------
12+
--------
1413

1514
* Based on the well-proven [jsmn](http://zserge.com/jsmn.html) tokenizer
1615
* Supports nested objects
@@ -43,7 +42,6 @@ Example
4342

4443

4544

46-
4745
How to use ?
4846
-------------
4947

@@ -74,7 +72,7 @@ To extract data from the JSON string, you need to create a `JsonParser`, and spe
7472
> Each token takes 8 bytes, so `sizeof(JsonParser<32>)` is 256 bytes which is quite big in an Arduino with only 2KB of RAM.
7573
> Don't forget that you also have to store the JSON string in RAM and it's probably big.
7674
77-
> 32 tokens may seem small but it's very descent for an 8-bit processor, you wouldn't get better results with other JSON libraries.
75+
> 32 tokens may seem small, but it's very decent for an 8-bit processor, you wouldn't get better results with other JSON libraries.
7876
7977
### 4. Extract data
8078

@@ -150,7 +148,6 @@ or simply:
150148
double a = root.getArray(0).getDouble(0);
151149

152150

153-
154151
Common pitfalls
155152
---------------
156153

@@ -204,8 +201,6 @@ When you pass a `char*` to `JsonParser::parseArray()` or `JsonParser:: B838 parseHashT
204201
This is because we want functions like `JsonArray::getString()` to return a null-terminating string without any memory allocation.
205202

206203

207-
208-
209204
Memory usage
210205
------------
211206

@@ -233,9 +228,6 @@ This table is for an 8-bit Arduino, types would be bigger on a 32-bit processor.
233228
</table>
234229

235230

236-
237-
238-
239231
Code size
240232
---------
241233

@@ -414,4 +406,4 @@ As you'll see the code size if between 1680 and 3528 bytes, depending on the fea
414406
<td>TOTAL</td>
415407
<td>710</td>
416408
</tr>
417-
</table>
409+
</table>

0 commit comments

Comments
 (0)
0