json method

Response json(
  1. JSAny? body
)

Sends a JSON response with the specified body.

Implementation

external Response json(JSAny? body);