Skip to main content

encode_service

Function encode_service 

Source
pub fn encode_service(message: &ServiceMessage) -> String
Expand description

What: The line for a service message. Why: The same one-object form in the other direction.

In TS you’d write (pseudocode):

JSON.stringify(message)