code: public void reset() {
          lexer.reset();
          stateStack.clear();
          stateStack.push(START);
          parseError = null;
          if (resetHook != null)
              resetHook.onReset();
      }
docs: Resets the parser to clear "just like after construction" state.
  
  <p>At the end {@link net.openhft.saxophone.json.handler.ResetHook}, if provided,
  is notified.
  
  <p>Reusing parsers is encouraged because parser allocation / garbage collection
  is pretty costly.