code: public JsonObject getJsonObject() {
  
          JsonObject obj = new JsonObject();
          obj.add("field", this.field);
  
          obj.add("value", this.value);
  
          return obj;
      }
docs: Get the JSON representation of the metadata field filter.
  @return the JSON object representing the filter.