Plug.Parsers.JSON

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部