picoserve 0.18.0

An async no_std HTTP server suitable for bare-metal environments
Documentation
1
2
3
4
5
6
/// A JSON encoded value.  
/// When serializing, the value might be serialized several times during sending,  
/// so the value must be serialized in the same way each time.  
/// When deserializing, only short strings can be unescaped.  
/// If you want to handle longed escaped strings, use [`JsonWithUnescapeBufferSize`](crate::extract::JsonWithUnescapeBufferSize).
pub struct Json<T>(pub T);