Simplified from_str_radix(_, 10) to parse() for better overview.
@@ -77,7 +77,7 @@ impl Parser {
&& result.ends_with(PAYLOAD_ARRAY_KEY_END_DELIMITER)
{
result = result[1..(result.len() - 1)].to_string();
- let index = usize::from_str_radix(&result, 10).map_err(|err| {
+ let index = result.map_err(|err| {
ParserError::ConfigurationError {
message: format!(
"Cannot parse value [{}] to number: {}",
