DicomObjects.NET.V8
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 Stream, _
       Optional ByVal TransferSyntax As String _
    ) 
    'Usage
     
    Dim instance As DicomDataSetCollection
    Dim Stream As Stream
    Dim TransferSyntax As String
     
    instance.ReadJson(Stream, TransferSyntax)
    public void ReadJson( 
       Stream Stream,
       string TransferSyntax
    )
    public:
    void ReadJson( 
       Stream^ Stream,
       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 3.5 or higher

    See Also