diff --git a/README.md b/README.md index 8b9d394..7838c61 100644 --- a/README.md +++ b/README.md @@ -68,12 +68,12 @@ The following table shows the mapping of supported C++ types to supported JSON t | `JsonSerializable` | object | ### Remarks -* Raw pointer are not supported. This prevents +* Raw pointers are not supported. This prevents forgetting to free memory which would have to be allocated when deserializing. * For the same reason `const char *` and `std::string_view` are only supported for serialization. * Enums are (de)serialized as their underlying integer value. When deserializing, it is currently *not* checked whether the present integer value is a valid enumeration item. -* The JSON type for smart pointer depends on the type the pointer refers to. It can also be `null`. +* The JSON type for smart pointers depends on the type the pointer refers to. It can also be `null`. * If multiple `std::shared_ptr` instances point to the same object this object is serialized multiple times. When deserializing those identical objects, it is currently not possible to share the memory (again). So each `std::shared_ptr` will point to its own copy. Note that this limitation is *not* present when using binary