pub fn load_descriptors(
runtime: &mut Runtime,
json: &str,
) -> Result<Vec<TypeId>, SoilError>Expand description
Load a JSON array of descriptors into the registry. Returns the new
TypeIds in array order.
Not transactional: on error the registry may retain declarations from the failed load, so discard the runtime rather than retrying into it.