serialize

Function serialize 

Source
pub fn serialize<T: Serialize>(
    value: NodeInfoInternal<T>,
) -> Result<String, NodeInfoError>
Expand description

Serialize a NodeInfo struct into a JSON String. Just a wrapper for serde.