docs: @Override
      protected CharacterEvent filterEvent(CharacterEvent event, boolean peek) {
          if (event.getEventType() == CharacterEventTypes.JSON_LAYOUT) {
              inLayout = !inLayout;
              return null;
          }
  
          if (inLayout) {
              return event;
          }
  
          return null;
      }