MCPcopy Index your code
hub / github.com/google/gson / toString

Method toString

src/main/java/com/google/gson/Gson.java:555–568  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

553 }
554
555 @Override
556 public String toString() {
557 StringBuilder sb = new StringBuilder("{")
558 .append("serializeNulls:").append(serializeNulls)
559 .append(",serializers:").append(serializers)
560 .append(",deserializers:").append(deserializers)
561
562 // using the name instanceCreator instead of ObjectConstructor since the users of Gson are
563 // more familiar with the concept of Instance Creators. Moreover, the objectConstructor is
564 // just a utility class around instance creators, and its toString() only displays them.
565 .append(",instanceCreators:").append(objectConstructor)
566 .append("}");
567 return sb.toString();
568 }
569}

Callers 1

toJsonMethod · 0.45

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected