Skip to main content

to_json

Function to_json 

Source
pub fn to_json<T>(value: &T) -> WebullResult<String>
where T: Serialize,
Expand description

Convert a struct to a JSON string.