30 std::ifstream schema_stream( aSchemaFile.GetFullPath().fn_str() );
31 nlohmann::json schema;
37#if defined(__MINGW32__) && defined(_UCRT)
41 schema_stream >> schema;
44 catch( std::exception& e )
46 if( !aSchemaFile.FileExists() )
48 wxLogError( wxString::Format(
_(
"schema file '%s' not found" ),
49 aSchemaFile.GetFullPath() ) );
53 wxLogError( wxString::Format(
_(
"Error loading schema: %s" ), e.what() ) );