---
lang: en
title: 'API docs: rest.requestbodyparseroptions'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.requestbodyparseroptions.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RequestBodyParserOptions](./rest.requestbodyparseroptions.md)

## RequestBodyParserOptions interface

Options for request body parsing See https://github.com/expressjs/body-parser/\#options

Built-in parsers retrieve their own options from the request body parser options. The parser specific properties override common ones.

<b>Signature:</b>

```typescript
export interface RequestBodyParserOptions extends Options 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [json](./rest.requestbodyparseroptions.json.md) | <code>OptionsJson</code> | Options for json parser |
|  [raw](./rest.requestbodyparseroptions.raw.md) | <code>Options</code> | Options for raw parser |
|  [text](./rest.requestbodyparseroptions.text.md) | <code>OptionsText</code> | Options for text parser |
|  [urlencoded](./rest.requestbodyparseroptions.urlencoded.md) | <code>OptionsUrlencoded</code> | Options for urlencoded parser |
|  [validation](./rest.requestbodyparseroptions.validation.md) | <code>RequestBodyValidationOptions</code> | Validation options for AJV, see https://github.com/epoberezkin/ajv\#options This setting is global for all request body parsers and it cannot be overridden inside parser specific properties such as <code>json</code> or <code>text</code>. |


