1
0
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:
Alexander Medvednikov
2022-04-15 16:24:02 +03:00
parent e97ebf8cfc
commit ae6a25f44e
4 changed files with 18 additions and 18 deletions

View File

@@ -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
}