MCPcopy Index your code
hub / github.com/OpenFeign/feign / write

Method write

gson/src/test/java/feign/gson/GsonCodecTest.java:185–192  ·  view source on GitHub ↗
(JsonWriter out, Zone value)

Source from the content-addressed store, hash-verified

183 new TypeAdapter<Zone>() {
184
185 @Override
186 public void write(JsonWriter out, Zone value) throws IOException {
187 out.beginObject();
188 for (Map.Entry<String, Object> entry : value.entrySet()) {
189 out.name(entry.getKey()).value(entry.getValue().toString().toUpperCase());
190 }
191 out.endObject();
192 }
193
194 @Override
195 public Zone read(JsonReader in) throws IOException {

Callers

nothing calls this directly

Calls 3

nameMethod · 0.65
getValueMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected