BodyBuilder

trait BodyBuilder[R]

A typeclass that is used to build the json bodies for requests.

They accept a request instance, such as CountRequest or SearchRequest and return a JsonValue which models the json to be used.

class Object
trait Matchable
class Any

Value members

Abstract methods

def toJson(req: R): JsonValue