SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
metadata_internal.hpp
1// This file is part of slideio project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://slideio.com/license.html.
4#pragma once
5
6#include "slideio/core/metadata.hpp"
7#include "slideio/base/slideio_enums.hpp"
8#include <nlohmann/json.hpp>
9
10namespace slideio { namespace detail {
11
12 SLIDEIO_CORE_EXPORTS Metadata makeMetadataFromJson(nlohmann::json root);
13 SLIDEIO_CORE_EXPORTS nlohmann::json xmlStringToJson(const std::string& xml);
14 SLIDEIO_CORE_EXPORTS MetadataBuilder builderFromJson(nlohmann::json root);
15 SLIDEIO_CORE_EXPORTS MetadataBuilder makeDefaultMetadataBuilder(
16 const std::string& rawMetadata, MetadataFormat fmt);
17
18}}
Definition: exceptions.hpp:15