! @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 */
| 12249 | @return whether the input is a proper JSON text |
| 12250 | */ |
| 12251 | bool accept(const bool strict = true) |
| 12252 | { |
| 12253 | json_sax_acceptor<BasicJsonType> sax_acceptor; |
| 12254 | return sax_parse(&sax_acceptor, strict); |
| 12255 | } |
| 12256 | |
| 12257 | template<typename SAX> |
| 12258 | JSON_HEDLEY_NON_NULL(2) |