An open API service indexing awesome lists of open source software.

https://github.com/jkyberneees/serverless-json-parser

Simple JSON parser for AWS Lambda + HTTP integration via serverless-http
https://github.com/jkyberneees/serverless-json-parser

Last synced: about 2 months ago
JSON representation

Simple JSON parser for AWS Lambda + HTTP integration via serverless-http

Awesome Lists containing this project

README

        

# serverless-json-parser
Simple JSON parser for AWS Lambda + HTTP integration via [serverless-http](https://github.com/dougmoscrop/serverless-http)

## Usage
```js
'use strict'

const jsonParser = require('serverless-json-parser')()
const service = require('restana')()
service.use(jsonParser)

service.post('/create', (req, res) => {
const payload = req.body

// ...
})

module.exports = service
```