@@ -431,7 +431,7 @@ namespace web { namespace json
431
431
// / </summary>
432
432
// / <param name="key">The name of the field</param>
433
433
// / <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." )
435
435
value get (const utility::string_t &key) const ;
436
436
437
437
// / <summary>
@@ -469,13 +469,6 @@ namespace web { namespace json
469
469
// / <returns>A reference to the value kept in the field.</returns>
470
470
_ASYNCRTIMP value & operator [] (const utility::string_t &key);
471
471
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
-
479
472
#ifdef _MS_WINDOWS
480
473
private:
481
474
// Only used internally by JSON parser
@@ -492,7 +485,7 @@ namespace web { namespace json
492
485
// / </summary>
493
486
// / <param name="key">The index of an element in the JSON array</param>
494
487
// / <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." )
496
489
value get (size_t index) const ;
497
490
498
491
// / <summary>
0 commit comments