NEST’s default JSON serialization understands how to correctly serialize all request and response types, as well as correctly handle your POCOs. Sometimes however, you might want to change this behaviour, either by providing your own serializer, or by modifying how NEST’s serializer behaves.
You are looking at documentation for an older release. Not what you want? See the current release documentation.