---
lang: en
title: 'API docs: rest.textbodyparser'
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.textbodyparser.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [TextBodyParser](./rest.textbodyparser.md)

## TextBodyParser class

**Signature:**

```typescript
export declare class TextBodyParser implements BodyParser 
```
**Implements:** [BodyParser](./rest.bodyparser.md)

## Constructors

<table><thead><tr><th>

Constructor


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[(constructor)(options)](./rest.textbodyparser._constructor_.md)


</td><td markdown="1">


</td><td markdown="1">

Constructs a new instance of the `TextBodyParser` class


</td></tr>
</tbody></table>

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[name](./rest.textbodyparser.name.md)


</td><td markdown="1">


</td><td markdown="1">

symbol


</td><td markdown="1">


</td></tr>
</tbody></table>

## Methods

<table><thead><tr><th>

Method


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[parse(request)](./rest.textbodyparser.parse.md)


</td><td markdown="1">


</td><td markdown="1">


</td></tr>
<tr><td markdown="1">

[supports(mediaType)](./rest.textbodyparser.supports.md)


</td><td markdown="1">


</td><td markdown="1">


</td></tr>
</tbody></table>


