@@ -431,7 +431,7 @@ namespace web { namespace json
431431 // / </summary>
432432 // / <param name="key">The name of the field</param>
433433 // / <returns>The value kept in the field; null if the field does not exist</returns>
434- CASABLANCA_DEPRECATED (" This API is deprecated and will be removed in a future release, use operator[] instead." )
434+ CASABLANCA_DEPRECATED (" This API is deprecated and will be removed in a future release, use json::value::at() instead." )
435435 value get (const utility::string_t &key) const ;
436436
437437 // / <summary>
@@ -469,13 +469,6 @@ namespace web { namespace json
469469 // / <returns>A reference to the value kept in the field.</returns>
470470 _ASYNCRTIMP value & operator [] (const utility::string_t &key);
471471
472- // / <summary>
473- // / Accesses a field of a JSON object.
474- // / </summary>
475- // / <param name="key">The name of the field</param>
476- // / <returns>A reference to the value kept in the field.</returns>
477- _ASYNCRTIMP const value & operator [] (const utility::string_t &key) const ;
478-
479472#ifdef _MS_WINDOWS
480473private:
481474 // Only used internally by JSON parser
@@ -492,7 +485,7 @@ namespace web { namespace json
492485 // / </summary>
493486 // / <param name="key">The index of an element in the JSON array</param>
494487 // / <returns>The value kept at the array index; null if outside the boundaries of the array</returns>
495- CASABLANCA_DEPRECATED (" This API is deprecated and will be removed in a future release, use operator[] instead." )
488+ CASABLANCA_DEPRECATED (" This API is deprecated and will be removed in a future release, use json::value::at() instead." )
496489 value get (size_t index) const ;
497490
498491 // / <summary>
0 commit comments