Function load_stream_spec
Source pub fn load_stream_spec(
json: &str,
) -> Result<SerializableStreamSpec, VersionedLoadError>
Expand description
Load a stream spec from JSON with automatic version detection and migration.
Similar to load_stack_spec but for entity/stream specs.
§Arguments
json - The JSON string containing the AST
§Returns
The deserialized and migrated SerializableStreamSpec