! @brief public accept interface @param[in] strict whether to expect the last token to be EOF @return whether the input is a proper JSON text */
| 10324 | @return whether the input is a proper JSON text |
| 10325 | */ |
| 10326 | bool accept(const bool strict = true) |
| 10327 | { |
| 10328 | json_sax_acceptor<BasicJsonType> sax_acceptor; |
| 10329 | return sax_parse(&sax_acceptor, strict); |
| 10330 | } |
| 10331 | |
| 10332 | template<typename SAX> |
| 10333 | JSON_HEDLEY_NON_NULL(2) |
no test coverage detected