Deserialize
Contents
[
Hide
]Deserialize(ReadOnlySpan<char>, DicomJsonSerializerOptions, bool)
Parses the text representing a single JSON value into an instance of the Dataset.
public static Dataset? Deserialize(ReadOnlySpan<char> json,
DicomJsonSerializerOptions? dicomJsonOptions = null, bool writeIndented = false)
| Parameter | Type | Description |
|---|---|---|
| json | ReadOnlySpan`1 | The JSON text to parse. |
| dicomJsonOptions | DicomJsonSerializerOptions | Options that controls serialization/deserialization process of DICOM objects. |
| writeIndented | Boolean | Specifies whether JSON should use pretty printing. By default, JSON is serialized without any extra white space. |
Return Value
The Dataset or null.
See Also
- class Dataset
- record DicomJsonSerializerOptions
- class DicomJsonSerializer
- namespace Aspose.Medical.Dicom.Serialization
- assembly Aspose.Medical
Deserialize(Stream, DicomJsonSerializerOptions, bool)
Reads the UTF-8 encoded text representing a single JSON value into a Dataset.
public static Dataset? Deserialize(Stream utf8Json,
DicomJsonSerializerOptions? dicomJsonOptions = null, bool writeIndented = false)
| Parameter | Type | Description |
|---|---|---|
| utf8Json | Stream | JSON data to parse. |
| dicomJsonOptions | DicomJsonSerializerOptions | Options that controls serialization/deserialization process of DICOM objects. |
| writeIndented | Boolean | Specifies whether JSON should use pretty printing. By default, JSON is serialized without any extra white space. |
Return Value
The Dataset or null.
See Also
- class Dataset
- record DicomJsonSerializerOptions
- class DicomJsonSerializer
- namespace Aspose.Medical.Dicom.Serialization
- assembly Aspose.Medical