MCPcopy
hub / github.com/google/gson / write

Method write

gson/src/main/java/com/google/gson/internal/Excluder.java:137–144  ·  view source on GitHub ↗
(JsonWriter out, T value)

Source from the content-addressed store, hash-verified

135 }
136
137 @Override
138 public void write(JsonWriter out, T value) throws IOException {
139 if (skipSerialize) {
140 out.nullValue();
141 return;
142 }
143 delegate().write(out, value);
144 }
145
146 private TypeAdapter<T> delegate() {
147 // A race might lead to `delegate` being assigned by multiple threads but the last

Callers

nothing calls this directly

Calls 2

delegateMethod · 0.95
nullValueMethod · 0.45

Tested by

no test coverage detected