diff --git a/Source/Engine/Serialization/JsonSerializer.cs b/Source/Engine/Serialization/JsonSerializer.cs index a89ade8ef..fe2d6b903 100644 --- a/Source/Engine/Serialization/JsonSerializer.cs +++ b/Source/Engine/Serialization/JsonSerializer.cs @@ -368,6 +368,17 @@ namespace FlaxEngine.Json return GetStringID(&id); } + /// + /// Parses the given object identifier represented in the internal serialization format. + /// + /// The ID string. + /// The identifier. + public static Guid ParseID(string str) + { + ParseID(str, out var id); + return id; + } + /// /// Parses the given object identifier represented in the internal serialization format. ///