DicomJsonSerializerOptions

DicomJsonSerializerOptions record

Provides options that controls serialization/deserialization (JSON) process of DICOM objects.

public record DicomJsonSerializerOptions

Constructors

NameDescription
DicomJsonSerializerOptions()The default constructor.

Properties

NameDescription
static Default { get; }Default DICOM serialization options. Read-only, DicomJsonSerializerOptions.
BulkDataConverter { get; set; }A converter that allows writing DICOM Element data as a reference to a blob of data specified in the BulkData element. See https://dicom.nema.org/medical/dicom/current/output/chtml/part19/chapter_A.html#table_A.1.5-2. Read-only, IBulkDataConverter.
BulkDataLoader { get; set; }A loader used to load blob data referenced in BulkData element. See https://dicom.nema.org/medical/dicom/current/output/chtml/part19/chapter_A.html#table_A.1.5-2. Read-only, IBulkDataLoader.
NumberHandling { get; set; }Determines how the DICOM numbers will be handled during serialization. Read-only, DicomJsonNumberHandling.
UseKeywordsAsJsonKeys { get; set; }Indicates whether to write the JSON keys as DICOM keywords instead of tags. Read-only, Boolean.
WriteKeyword { get; set; }Specifies whether DICOM Tag keyword will be written as a distinct JSON attribute or not.
WriteName { get; set; }Specifies whether DICOM Tag name will be written as a distinct JSON attribute or not.

See Also