JsonBody

@Serializable
data class JsonBody(val jsonString: String) : Body

Data class representing a JSON body for an HTTP request.

Constructors

Link copied to clipboard
constructor(data: Map<String, Any>)

Secondary constructor to create a JsonBody from a map.

constructor(jsonString: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The JSON string representing the body.