diff --git a/include/json/reader.h b/include/json/reader.h index adbe299bf..947fc0035 100644 --- a/include/json/reader.h +++ b/include/json/reader.h @@ -122,7 +122,7 @@ class [[deprecated("deprecated Use CharReader and CharReaderBuilder.")]] JSON_AP */ 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 a47884854..e1340d62b 100644 --- a/include/json/value.h +++ b/include/json/value.h @@ -684,7 +684,7 @@ class JSON_API PathArgument { * - ".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: