Module response_writer

Module response_writer 

Source

Modules§

codegen
iterators
number
object
short

Macros§

array
Helper macro for creating instances of JsonValue::Array.
object
Helper macro for creating instances of JsonValue::Object.
value
Helper crate for converting types into JsonValue. It’s used internally by the object! and array! macros.

Structs§

ResponseWriter

Enums§

Error
Error type of this crate.
HttpStatus
JsonError
Error type of this crate.
JsonValue

Functions§

from
Convenience for JsonValue::from(value)
parse
stringify
Pretty prints out the value as JSON string.
stringify_pretty
Pretty prints out the value as JSON string. Second argument is a number of spaces to indent new blocks with.

Type Aliases§

Array
JsonResult
Result type used by this crate.
Result
Result type used by this crate.