diff --git a/Memory-model.md b/Memory-model.md index d78c4fe..cfcd6ea 100644 --- a/Memory-model.md +++ b/Memory-model.md @@ -6,9 +6,9 @@ Arduino JSON uses a preallocated memory pool to store the object tree, this is done by the `StaticJsonBuffer` class. -Before using any function of the library you need to create a `StaticJsonBuffer`. Then you can use this instance to creates arrays and objects, or parse a JSON string. +Before using any function of the library you need to create a `StaticJsonBuffer`. Then you can use this instance to create arrays and objects, or parse a JSON string. -`StaticJsonBuffer` has a template parameter that determines its capacity. For example, the following line create a `StaticJsonBuffer` with a capacity of 200 bytes: +`StaticJsonBuffer` has a template parameter that determines its capacity. For example, the following line creates a `StaticJsonBuffer` with a capacity of 200 bytes: StaticJsonBuffer<200> jsonBuffer;