Find the first balanced `{...}` substring using bracket counting.
(text: &str)
| 359 | |
| 360 | /// Find the first balanced `{...}` substring using bracket counting. |
| 361 | fn find_balanced_json_object(text: &str) -> Option<&str> { |
| 362 | find_balanced(text, '{', '}') |
| 363 | } |
| 364 | |
| 365 | /// Find the first balanced `[...]` substring. |
| 366 | fn find_balanced_json_array(text: &str) -> Option<&str> { |
no test coverage detected