Example #1
0
 public <V> Builder writeToString(Key<V> key, Function<V, String> converter) {
   return writeToString(key, key.name(), converter);
 }
Example #2
0
 public <V> Builder write(
     Key<? extends V> key, BiConsumer<JsonGenerator, ? super V> serialiser) {
   return write(key, key.name(), serialiser);
 }