## Converter


A data converter.


Usage


``` python
Converter(fmt="json")
```


## Parameters


`fmt: str = ``"json"`  
The output format.


## Methods

| Name | Description |
|----|----|
| [convert()](#convert) | Convert data to the target format. |

------------------------------------------------------------------------


#### convert()


Convert data to the target format.


Usage


``` python
convert(data)
```


##### Parameters


`data: str`  
The input data string.


##### Returns


`str`  
Converted data.
