mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
websocket, utf: u8 fixes
This commit is contained in:
@@ -9,7 +9,7 @@ import strings
|
||||
// Encoder encodes the an `Any` type into JSON representation.
|
||||
// It provides parameters in order to change the end result.
|
||||
pub struct Encoder {
|
||||
newline byte
|
||||
newline u8
|
||||
newline_spaces_count int
|
||||
escape_unicode bool = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user