Handbook
Glossary
<json-content> ( body -- response )
Furnace framework
»
Furnace presentation layer
»
Furnace JSON support
Vocabulary
furnace
.
json
Inputs
body
an
object
Outputs
response
a
response
Word description
Creates an HTTP response which serves a serialized JSON object to the client.
Definition
USING:
http.server.responses
json
;
IN:
furnace.json
:
<json-content>
( body -- response )
>json
"application/json"
<content>
;