| 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 | } |