Skip to main content

decode

Function decode 

Source
pub fn decode(json: &str) -> Result<ServerMessage, CodecError>
Expand description

Parse a JSON string from the wire into a ServerMessage.