Simple PSR-15 middleware, which decodes JSON body of a PSR-7 Server Request,
if it has a Content-Type: application/json
header, into array, which you can
obtain via getParsedBody()
call on the Server Request.
Simple PSR-15 middleware for decoding JSON body of a server request when given respective Content-Type header
License
someniatko/json-decode-middleware
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple PSR-15 middleware for decoding JSON body of a server request when given respective Content-Type header
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published