W3cubDocs

/Phoenix

Plug.Parsers.JSON

Parses JSON request body.

JSON arrays are parsed into a "_json" key to allow proper param merging.

An empty request body is parsed as an empty map.

Summary

Functions

parse(conn, arg2, subtype, headers, opts)

Callback implementation for Plug.Parsers.parse/5

Functions

parse(conn, arg2, subtype, headers, opts)

Callback implementation for Plug.Parsers.parse/5.

© 2013 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/plug/1.3.0/Plug.Parsers.JSON.html