@@ -524,14 +524,14 @@ namespace json
524524 // / Compares two JSON values for equality.
525525 // / </summary>
526526 // / <param name="other">The JSON value to compare with.</param>
527- // / <returns>True iff the values are equal.</returns>
527+ // / <returns>True if the values are equal.</returns>
528528 _ASYNCRTIMP bool operator ==(const value& other) const ;
529529
530530 // / <summary>
531531 // / Compares two JSON values for inequality.
532532 // / </summary>
533533 // / <param name="other">The JSON value to compare with.</param>
534- // / <returns>True iff the values are unequal.</returns>
534+ // / <returns>True if the values are unequal.</returns>
535535 bool operator !=(const value& other) const
536536 {
537537 return !((*this ) == other);
@@ -1226,7 +1226,7 @@ namespace json
12261226 // / <summary>
12271227 // / Checks if there are any elements in the JSON object.
12281228 // / </summary>
1229- // / <returns>True iff empty.</returns>
1229+ // / <returns>True if empty.</returns>
12301230 bool empty () const
12311231 {
12321232 return m_elements.empty ();
@@ -1374,7 +1374,7 @@ namespace json
13741374 // / <summary>
13751375 // / Converts the JSON number to unsigned int32.
13761376 // / </summary>
1377- // / <returns>An usigned int32 representation of the number</returns>
1377+ // / <returns>An unsigned int32 representation of the number</returns>
13781378 uint32_t to_uint32 () const
13791379 {
13801380 if (m_type == double_type)
@@ -1420,7 +1420,7 @@ namespace json
14201420 // / Compares two JSON numbers for equality.
14211421 // / </summary>
14221422 // / <param name="other">The JSON number to compare with.</param>
1423- // / <returns>True iff the numbers are equal.</returns>
1423+ // / <returns>True if the numbers are equal.</returns>
14241424 bool operator ==(const number &other) const
14251425 {
14261426 if (m_type != other.m_type )
@@ -1689,7 +1689,7 @@ namespace json
16891689
16901690 utility::string_t m_string;
16911691
1692- // There are significant performance gains that can be made by knowning whether
1692+ // There are significant performance gains that can be made by knowing whether
16931693 // or not a character that requires escaping is present.
16941694 bool m_has_escape_char;
16951695 static bool has_escape_chars (const _String &str);
@@ -1797,7 +1797,7 @@ namespace json
17971797 for (auto iter = m_object.begin (); iter != m_object.end (); ++iter)
17981798 {
17991799 reserveSize += iter->first .length () + 2 ; // 2 for quotes
1800- size_t valueSize = iter->second .size () * 20 ; // Multipler by each object/array element
1800+ size_t valueSize = iter->second .size () * 20 ; // Multiply by each object/array element
18011801 if (valueSize == 0 )
18021802 {
18031803 if (iter->second .type () == json::value::String)
0 commit comments