Method
write
(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
Tested by
no test coverage detected