- All Superinterfaces:
public interface ToXContentObject extends ToXContent
An interface allowing to transfer an object to "XContent" using an
XContentBuilder. The difference between
ToXContentObjectis that the former outputs a fragment that requires to start and end a new anonymous object externally, while the latter guarantees that what gets printed out is fully valid syntax without any external addition.
Nested Class Summary