Fix a coupe of typos (#1007)
diff --git a/include/json/reader.h b/include/json/reader.h
index adbe299..947fc00 100644
--- a/include/json/reader.h
+++ b/include/json/reader.h
@@ -122,7 +122,7 @@
*/
String getFormattedErrorMessages() const;
- /** \brief Returns a vector of structured erros encounted while parsing.
+ /** \brief Returns a vector of structured errors encountered while parsing.
*
* \return A (possibly empty) vector of StructuredError objects. Currently
* only one error can be returned, but the caller should tolerate multiple
diff --git a/include/json/value.h b/include/json/value.h
index a478848..e1340d6 100644
--- a/include/json/value.h
+++ b/include/json/value.h
@@ -684,7 +684,7 @@
* - ".name1.name2.name3"
* - ".[0][1][2].name1[3]"
* - ".%" => member name is provided as parameter
- * - ".[%]" => index is provied as parameter
+ * - ".[%]" => index is provided as parameter
*/
class JSON_API Path {
public: