>, Writer> writers = new HashMap();
writers.put(Boolean.class, (b, v) -> b.value((Boolean) v));
writers.put...) v));
writers.put(double[].class, (b, v) -> b.values((double[]) v));
writers.put(Float.class, (b, v)...((short[]) v));
writers.put(String.class, (b, v) -> b.value((String) v));
writers.put(String[].class,...>, Writer> writers = new HashMap();
writers.put(Boolean.class, (b, v) -> b.value((Boolean) v));
writers.put...) v));
writers.put(double[].class, (b, v) -> b.values((double[]) v));
writers.put(Float.class, (b, v)