! @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 */
| 11068 | @return whether the input is a proper JSON text |
| 11069 | */ |
| 11070 | bool accept(const bool strict = true) |
| 11071 | { |
| 11072 | json_sax_acceptor<BasicJsonType> sax_acceptor; |
| 11073 | return sax_parse(&sax_acceptor, strict); |
| 11074 | } |
| 11075 | |
| 11076 | template<typename SAX> |
| 11077 | JSON_HEDLEY_NON_NULL(2) |