# Chuyển Đổi JSON Sang TypeScript Interface

> Hồ sơ MCP chính thức, sinh từ registry BOP.INK.

| Trường | Giá trị |
| --- | --- |
| Slug | `chuyen-json-sang-typescript` |
| Danh mục V2 | Lập trình (`lap-trinh`) |
| Danh mục con V2 | Code Converter (`programming.code-converter`) |
| Route legacy tương thích | `lap-trinh-dev` |
| Taxonomy V2 | `programming` / `programming.code-converter` |
| Phạm vi áp dụng | `global` |
| Trạng thái thực thi MCP | `remote_executable` |
| Nguồn giao diện/schema | component `JsonToTsConverter` |
| Website | [Mở công cụ](https://bop.ink/lap-trinh-dev/chuyen-json-sang-typescript/) |

Tự động suy luận kiểu dữ liệu từ JSON payload và sinh ra các TypeScript interface, type definitions lồng nhau ngăn nắp, hỗ trợ tùy chọn readonly, optional properties.

## Cách dùng qua MCP

### Chuyển Đổi JSON Sang TypeScript Interface

- Capability: `app.lap_trinh_dev.chuyen_json_sang_typescript`
- MCP availability: `remote-executable`
- MCP tool: `bop_execute_app_lap_trinh_dev_chuyen_json_sang_typescript`
- Mô tả: Tự động suy luận kiểu dữ liệu từ JSON payload và sinh ra các TypeScript interface, type definitions lồng nhau ngăn nắp, hỗ trợ tùy chọn readonly, optional properties.

Các trường đầu vào:

- `jsonString` (bắt buộc): Chuỗi JSON đầu vào
- `rootInterfaceName`: Tên của Interface gốc (mặc định: RootObject)

Ví dụ đầu vào:

```json
{}
```
