C# Class SensorHost.Serializer.JsonSerializer

Inheritance: ISerializer
Show file Open project: rossdargan/PRTG-Sensors

Public Methods

Method Description
Serialize ( Reply reply ) : string

Serialize the DTO as JSON

Private Methods

Method Description
ConvertToJson ( Result result ) : string

Convert the channel to json.

Method Details

Serialize() public method

Serialize the DTO as JSON
public Serialize ( Reply reply ) : string
reply SensorHost.DTOs.Reply
return string