Enum DicomJsonNumberHandling

Enum DicomJsonNumberHandling

Namespace: Aspose.Medical.Dicom.Serialization
Assembly: Aspose.Medical.dll (25.11.0)

Determines how the DICOM numbers (VR: IS, DS, SV and UV) should be handled when serializing and deserializing.

public enum DicomJsonNumberHandling

Fields

AsNumber = 0

Serialize DICOM numbers (VR: IS, DS, SV and UV) as JSON numbers. System.FormatException will be thrown when a number can’t be parsed! For example: "00180086":{"vr":"IS","Value":[42]}

AsString = 1

Serialize DICOM numbers (VR: IS, DS, SV and UV) as JSON strings. For example: "00180086":{"vr":"IS","Value":["42"]}