Pudu programming language
Menu

Std.Http.Server.Reply.json

1 declaration

fn

json: Int -> Str -> Std.Http.Response

This is a callable function.

What it does

A response carrying JSON, already encoded.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.

Back to Std.Http.Server.ReplySearch related declarations