Skip to content

Simple PSR-15 middleware for decoding JSON body of a server request when given respective Content-Type header

License

Notifications You must be signed in to change notification settings

someniatko/json-decode-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Json Decode Middleware

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.

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

No packages published

Languages