DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSetCollection Class / ReadJson Method
The Stream to read from
The transfer syntax to assign to the resulting instances - see remarks






In This Topic
    ReadJson Method (DicomDataSetCollection)
    In This Topic
    Read DICOM data from a JSON Stream
    Syntax
    'Declaration
     
    
    Public Sub ReadJson( _
       ByVal Stream As System.IO.Stream, _
       Optional ByVal TransferSyntax As System.String _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSetCollection
    Dim Stream As System.IO.Stream
    Dim TransferSyntax As System.String
     
    instance.ReadJson(Stream, TransferSyntax)
    public void ReadJson( 
       System.IO.Stream Stream,
       System.string TransferSyntax
    )
    public procedure ReadJson( 
        Stream: System.IO.Stream;
        TransferSyntax: System.String
    ); 
    public function ReadJson( 
       Stream : System.IO.Stream,
       TransferSyntax : System.String
    );
    public: void ReadJson( 
       System.IO.Stream* Stream,
       System.string* TransferSyntax
    ) 
    public:
    void ReadJson( 
       System.IO.Stream^ Stream,
       System.String^ TransferSyntax
    ) 

    Parameters

    Stream
    The Stream to read from
    TransferSyntax
    The transfer syntax to assign to the resulting instances - see remarks
    Remarks

    The JSON data must be compliant with the Native DICOM Model outlined in the DICOM Part 18, with modifications as defined in supplement 163 to allow bulk data

    The TransferSyntaxvalue does not directly affect the data itself, which is independent of transfer syntax, but the assigned value may be used internally to control the form in which are missing bulk data (e.g. pixel data) is requested fromn an origin server if replaced by a BulkDataUri property.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also