JSON Tools Runs locally ⌘↵ to run

JSON to Rust

Generate Rust struct definitions with serde Serialize/Deserialize from JSON data. Set the root struct name, serde rename_all and the derive macros (Debug, Clone, PartialEq, Serialize, Deserialize); nested objects become their own structs and null becomes Option<T>. All in-browser.

Last updated May 16, 2026

Related tools

  • JSON to Go — Generate Go struct definitions from JSON data. Handles nested types, arrays, and adds json struct tags.
  • JSON to Dart — Generate Dart/Flutter class definitions from JSON. Supports freezed and json_serializable packages.
  • JSON to Java — Generate Java POJO classes from JSON data. Supports Lombok annotations and Jackson serialization.
  • JSON to Kotlin — Generate Kotlin data classes from JSON. Supports Gson, Moshi, and kotlinx.serialization annotations.