! @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 */
| 12319 | @return whether the input is a proper JSON text |
| 12320 | */ |
| 12321 | bool accept(const bool strict = true) |
| 12322 | { |
| 12323 | json_sax_acceptor<BasicJsonType> sax_acceptor; |
| 12324 | return sax_parse(&sax_acceptor, strict); |
| 12325 | } |
| 12326 | |
| 12327 | template<typename SAX> |
| 12328 | JSON_HEDLEY_NON_NULL(2) |