add_body_json {tower}R Documentation

Add a body to a response as JSON

Description

Adds a body to a response as JSON

Usage

add_body_json(res, body)

Arguments

res

A response builder object

body

The body to add

Value

The response builder object


[Package tower version 0.2.0 Index]