! @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 */
| 13009 | @return whether the input is a proper JSON text |
| 13010 | */ |
| 13011 | bool accept(const bool strict = true) |
| 13012 | { |
| 13013 | json_sax_acceptor<BasicJsonType> sax_acceptor; |
| 13014 | return sax_parse(&sax_acceptor, strict); |
| 13015 | } |
| 13016 | |
| 13017 | template<typename SAX> |
| 13018 | JSON_HEDLEY_NON_NULL(2) |