用这份快照了解当前可以尝试什么,以及哪些路径仍需要结合 diagnostics 判断。
当前可运行路径
154
Source formats
14
已记录路径
154
对比当前支持的路径、部分支持的路径,以及运行转换前需要了解的限制。
从 C# 开始
C# 的所有可执行 toolkit 转换路径。
C# -> C#
C# → C#,由当前 SDK registry 自动发现。
Beta✓已支持C#C#
C# -> C#
C# → C#,由当前 SDK registry 自动发现。
通过 toolkit 的共享 IR,将 C# source parser 连接到 C# generator。
当前表现较好的部分
Parser 能力:shape-ir
Generator 能力:shape-ir
IR 流程:shape
当前限制
C# support is limited to single-file records, property-based classes, and symbolic enums.
Attributes, inheritance, interfaces, generic declarations, methods, and other full-language constructs remain unsupported.
Enum serializer metadata and non-name wire values are not preserved; collection and numeric representation behavior follows the C# adapter boundary.
serializer metadata
broader C# language syntax
C# -> go
C# → go,由当前 SDK registry 自动发现。
Beta✓已支持C#Go
C# -> go
C# → go,由当前 SDK registry 自动发现。
通过 toolkit 的共享 IR,将 C# source parser 连接到 go generator。
当前表现较好的部分
Parser 能力:shape-ir
Generator 能力:shape-ir
IR 流程:shape
当前限制
C# support is limited to single-file records, property-based classes, and symbolic enums.
Attributes, inheritance, interfaces, generic declarations, methods, and other full-language constructs remain unsupported.
Enum serializer metadata and non-name wire values are not preserved; collection and numeric representation behavior follows the C# adapter boundary.
Go support is limited to single-file serializable data-model declarations rather than the full Go language.
Imports, cross-file resolution, functions, methods, interfaces, generics, and embedded-field promotion remain unsupported.
Go aliases are rejected because the shared IR preserves named types but not alias identity.
Pointers are interpreted as nullable values and omitempty as optional field presence.
Fixed-size arrays are widened to variable-length arrays with semantic loss.
Constraint annotations are not emitted as Go runtime validation and are reported as semantic loss.
serializer metadata
broader C# language syntax
typed const enums
package and cross-file resolution
generic types
C# -> java
C# → java,由当前 SDK registry 自动发现。
Beta✓已支持C#Java
C# -> java
C# → java,由当前 SDK registry 自动发现。
通过 toolkit 的共享 IR,将 C# source parser 连接到 java generator。
当前表现较好的部分
Parser 能力:shape-ir
Generator 能力:shape-ir
IR 流程:shape
当前限制
C# support is limited to single-file records, property-based classes, and symbolic enums.
Attributes, inheritance, interfaces, generic declarations, methods, and other full-language constructs remain unsupported.
Enum serializer metadata and non-name wire values are not preserved; collection and numeric representation behavior follows the C# adapter boundary.
Java support is limited to single-file records, restricted structural classes, and unit-only enums rather than the full Java language.
Exactly one public root record, class, or unit-only enum is required; additional declarations are package-private definitions.
Structural classes contain only instance fields; interfaces, generic declarations, wildcards, annotations, data-carrying enums, JavaBeans, and non-string Map keys remain unsupported.
Reference types are conservatively interpreted as nullable because Java declarations do not establish non-nullability.
serializer metadata
broader C# language syntax
Set<T>
Jackson metadata
Bean Validation
generic types
JavaBeans
getter/setter inference
C# -> JSON Schema
C# → JSON Schema,由当前 SDK registry 自动发现。
Beta✓已支持C#JSON Schema
C# -> JSON Schema
C# → JSON Schema,由当前 SDK registry 自动发现。
通过 toolkit 的共享 IR,将 C# source parser 连接到 JSON Schema generator。
当前表现较好的部分
Parser 能力:shape-ir
Generator 能力:shape-ir, constraint-ir, string-constraints, numeric-constraints, collection-constraints, object-constraints, portable-annotations
IR 流程:shape
当前限制
C# support is limited to single-file records, property-based classes, and symbolic enums.
Attributes, inheritance, interfaces, generic declarations, methods, and other full-language constructs remain unsupported.
Enum serializer metadata and non-name wire values are not preserved; collection and numeric representation behavior follows the C# adapter boundary.
JSON Schema support is limited to the current IR-aligned Draft 2020-12 subset.
Validation-heavy and document-system features such as external references remain unsupported.
Object-only allOf can be merged; references, non-object compositions, not, and conditional schemas remain outside the current JSON Schema parser subset.
serializer metadata
broader C# language syntax
constraint-round-trip-through-shared-ir
C# -> Kotlin
C# → Kotlin,由当前 SDK registry 自动发现。
Beta✓已支持C#Kotlin
C# -> Kotlin
C# → Kotlin,由当前 SDK registry 自动发现。
通过 toolkit 的共享 IR,将 C# source parser 连接到 Kotlin generator。
当前表现较好的部分
Parser 能力:shape-ir
Generator 能力:shape-ir, constraint-ir, collection-constraints
IR 流程:shape
当前限制
C# support is limited to single-file records, property-based classes, and symbolic enums.
Attributes, inheritance, interfaces, generic declarations, methods, and other full-language constructs remain unsupported.
Enum serializer metadata and non-name wire values are not preserved; collection and numeric representation behavior follows the C# adapter boundary.
Kotlin support is limited to data classes, unit-only enums, and schema-facing List, Map<String, T>, and Set containers.
User-defined generics, ordinary class parsing, mutable or concrete collection implementations, defaults, annotations, inheritance, and sealed hierarchies remain unsupported.
Set is represented as an array with a unique-items constraint and may be generated as List when that constraint is unavailable.
serializer metadata
broader C# language syntax
sealed hierarchies
serialization annotations
custom generic declarations
C# -> OpenAPI
C# → OpenAPI,由当前 SDK registry 自动发现。
Beta✓已支持C#OpenAPI
C# -> OpenAPI
C# → OpenAPI,由当前 SDK registry 自动发现。
通过 toolkit 的共享 IR,将 C# source parser 连接到 OpenAPI generator。
当前表现较好的部分
Parser 能力:shape-ir
Generator 能力:shape-ir, constraint-ir, string-constraints, numeric-constraints, collection-constraints, object-constraints, portable-annotations
IR 流程:shape
当前限制
C# support is limited to single-file records, property-based classes, and symbolic enums.
Attributes, inheritance, interfaces, generic declarations, methods, and other full-language constructs remain unsupported.
Enum serializer metadata and non-name wire values are not preserved; collection and numeric representation behavior follows the C# adapter boundary.
OpenAPI support is currently limited to extracting schemas from components.schemas rather than processing the full API document.
OpenAPI generation emits only a canonical 3.1 schema document and does not recreate source metadata or API operations.
Paths, operations, request and response bodies, parameters, headers, security, callbacks, and webhooks are outside the current parser boundary.
Only local references to components.schemas are supported; external and URL-based references are unsupported.
Object-only allOf compositions can be merged into shared IR; conflicting or non-object compositions remain unsupported.
serializer metadata
broader C# language syntax
full-document-processing
allOf-composition
C# -> python
C# → python,由当前 SDK registry 自动发现。
Beta✓已支持C#Python
C# -> python
C# → python,由当前 SDK registry 自动发现。
通过 toolkit 的共享 IR,将 C# source parser 连接到 python generator。
当前表现较好的部分
Parser 能力:shape-ir
Generator 能力:shape-ir
IR 流程:shape
当前限制
C# support is limited to single-file records, property-based classes, and symbolic enums.
Attributes, inheritance, interfaces, generic declarations, methods, and other full-language constructs remain unsupported.
Enum serializer metadata and non-name wire values are not preserved; collection and numeric representation behavior follows the C# adapter boundary.
Python support is limited to modern dataclass type annotations and does not execute Python.
Defaults, field(...), inheritance, user-defined generics, quoted forward references, and serialization behavior remain unsupported.
String-keyed dict[str, T] fields and restricted map aliases are supported; typing.Dict and non-string keys remain unsupported.
Constraint IR is not rendered as runtime validation; unsupported constraints are reported as semantic loss.
serializer metadata
broader C# language syntax
Literal and Enum
C# -> rust
C# → rust,由当前 SDK registry 自动发现。
Beta✓已支持C#Rust
C# -> rust
C# → rust,由当前 SDK registry 自动发现。
通过 toolkit 的共享 IR,将 C# source parser 连接到 rust generator。
当前表现较好的部分
Parser 能力:shape-ir
Generator 能力:shape-ir, constraint-ir, numeric-constraints
IR 流程:shape
当前限制
C# support is limited to single-file records, property-based classes, and symbolic enums.
Attributes, inheritance, interfaces, generic declarations, methods, and other full-language constructs remain unsupported.
Enum serializer metadata and non-name wire values are not preserved; collection and numeric representation behavior follows the C# adapter boundary.
Rust support is limited to serializable data-model syntax rather than the full Rust language.
Data-carrying enums, Serde attributes, tuples, aliases, and generics remain unsupported.
Map containers are normalized to string-keyed records and Rust generation uses HashMap.
serializer metadata
broader C# language syntax
data-carrying enums
Serde representation semantics
generic types
这条路径最适合作为第一条重点 Playground context,因为它最能代表当前产品阶段下最强的一条工作流,也最符合用户直觉。
当前表现最好的部分
Parser 能力:shape-ir
Generator 能力:shape-ir
IR 流程:shape
当前 caveats
C# support is limited to single-file records, property-based classes, and symbolic enums.
Attributes, inheritance, interfaces, generic declarations, methods, and other full-language constructs remain unsupported.
Enum serializer metadata and non-name wire values are not preserved; collection and numeric representation behavior follows the C# adapter boundary.
serializer metadata
broader C# language syntax
选择一条已记录的路径,先查看支持信号,再在准备好后打开对应的 Playground 流程。
先用这个页面理解路径成熟度,再进入 Playground 或后续更深入的路径说明。