免费 · 开发
JSON 转 Rust 结构体.
根据有限大小的 JSON 示例生成带 serde 注解的 Rust 结构体。
LOCAL PROCESSING · NO ACCOUNTUpdates as you type
使用JSON 转 Rust 结构体的步骤
输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。
限制与支持格式
输入内容在您的设备上处理。
英语技术说明
Root must be an object. Mixed or empty arrays use generic values; null uses a generic nullable type. Review generated models and add project-specific constraints.
Generate Rust structs with serde annotations from a bounded JSON sample. Root must be an object. Mixed or empty arrays use generic values; null uses a generic nullable type. Review generated models and add project-specific constraints. Source is processed locally; generated code is not executed.
Generate the included sample to inspect the output.