class JAnalyzedToken {
    private String posTag;
    private String lemma;
    private boolean hasNoTag = false;
    
    JAnalyzedToken(AnalyzedToken token) {
      posTag =  token.getPOSTag() == null ? "" : token.getPOSTag();
      lemma = token.getLemma() == null ? "" : token.getLemma();
      hasNoTag = token.hasNoTag();
    }
    
    String getJSON() {<FILL_FUNCTION_BODY>}
    
  }

      JSONObject obj = new JSONObject();
      obj.put("pT", posTag);
      obj.put("le", lemma);
      obj.put("hT", hasNoTag);
      return obj.toString();
    
<no_super_class>