Documented in json11.hpp
| 951 | |
| 952 | // Documented in json11.hpp |
| 953 | vector<Json> Json::parse_multi(const string &in, |
| 954 | string &err, |
| 955 | JsonParse strategy) { |
| 956 | JsonParser parser { in, 0, err, false, strategy }; |
| 957 | |
| 958 | vector<Json> json_vec; |
| 959 | while (parser.i != in.size() && !parser.failed) { |
| 960 | json_vec.push_back(parser.parse_json(0)); |
| 961 | // Check for another object |
| 962 | parser.consume_garbage(); |
| 963 | } |
| 964 | return json_vec; |
| 965 | } |
| 966 | |
| 967 | /* * * * * * * * * * * * * * * * * * * * |
| 968 | * Shape-checking |
nothing calls this directly
no test coverage detected