! @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 */
| 10255 | @return whether the input is a proper JSON text |
| 10256 | */ |
| 10257 | bool accept(const bool strict = true) |
| 10258 | { |
| 10259 | json_sax_acceptor<BasicJsonType> sax_acceptor; |
| 10260 | return sax_parse(&sax_acceptor, strict); |
| 10261 | } |
| 10262 | |
| 10263 | template<typename SAX> |
| 10264 | JSON_HEDLEY_NON_NULL(2) |