SpryResponseJson extension

on

Methods

json(Object? object, {Object? toEncodable(Object? nonSerializable)?, Encoding? encoding}) → void
Write a JSON object to the response body.