code: public static @Nonnull Entry<String,JsonElement> field(String key, Object value) {
          return field(key, fromObject(value));
      }
docs: Create a new field with the key and the result of fromObject on the value.
  @param key key
  @param value value
  @return field entry implementation that can be added to a JsonObject