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.

Source

Summary

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.

Source