업로드 된 이미지의 메타 데이터를 직렬화하여 데이터베이스에 유지할 수 있습니다. 이 제외metadata-extractor-dotnet을 직렬화 및 비 직렬화
(IReadOnlyList<MetadataExtractor.Directory>)JsonConvert.DeserializeObject(metadata)
:리스트 이후
An exception of type 'Newtonsoft.Json.JsonSerializationException' occurred in Newtonsoft.Json.dll but was not handled in user code
Additional information: Could not create an instance of type MetadataExtractor.Directory. Type is an interface or abstract class and cannot be instantiated. Path '[0].Name', line 1, position 9.
그러나 탈 직렬화 실패 -
이 Newtonsoft (JSON.NET)에서 사용자 JsonConverter를 이용하여 데이터를 직렬화 가능성 디렉토리가 특정 객체에 따라 달라질 수 있으므로 디렉토리를 개별적으로 직렬화/비순환화하는 것이 쉽지 않은지 의심 스럽습니다.
나중에 다시 사용할 수있는 형식으로 업로드 된 이미지의 메타 데이터 부분 만 저장하는 방법에 대한 간단한 제안 사항은 무엇입니까?
메타 데이터가 같이 어떻게 보는가? 너무 게시 할 수 있습니까? – Mahdi