---
lang: en
title: 'API docs: rest.requestbodyparseroptions'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
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 
```
<b>Extends:</b> Options

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [json?](./rest.requestbodyparseroptions.json.md) | OptionsJson | <i>(Optional)</i> Options for json parser |
|  [raw?](./rest.requestbodyparseroptions.raw.md) | Options | <i>(Optional)</i> Options for raw parser |
|  [text?](./rest.requestbodyparseroptions.text.md) | OptionsText | <i>(Optional)</i> Options for text parser |
|  [urlencoded?](./rest.requestbodyparseroptions.urlencoded.md) | OptionsUrlencoded | <i>(Optional)</i> Options for urlencoded parser |
|  [validation?](./rest.requestbodyparseroptions.validation.md) | [ValidationOptions](./rest.validationoptions.md) | <i>(Optional)</i> 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>. |


