From 1c55c19680d31fbaea3a7c1fc72317fd54dc1a23 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Wed, 22 Jan 2014 21:46:52 +0100 Subject: [PATCH] Added "features" section --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 2fb835b7..4e54e7d6 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,14 @@ It's design to be very lightweight, works without any allocation on the heap (no It has been written with Arduino in mind, but it isn't linked to Arduino libraries so you can use this library on any other C++ project. +## Features + +* Based on the well-proven [jsmn](http://zserge.com/jsmn.html) tokenizer +* Supports nested objects +* Works with fixed memory allocation : no `malloc()` +* Low footprint +* MIT License + ## Example char* json = "{\"Name\":\"Blanchon\",\"Skills\":[\"C\",\"C++\",\"C#\"],\"Age\":32,\"Online\":true}"; @@ -147,6 +155,10 @@ As you'll see the code size if between 1680 and 3528 bytes, depending on the fea jsmn_init(jsmn_parser*) 20 + + jsmn_parse(jsmn_parser*, char const*, jsmntok_t*, unsigned int) + 960 + JsonParser::parse(char*) 106