diff --git a/report.pdf b/report.pdf index aee6784..ffcca1d 100644 Binary files a/report.pdf and b/report.pdf differ diff --git a/report.tex b/report.tex index 7970beb..3dd2f95 100644 --- a/report.tex +++ b/report.tex @@ -568,6 +568,11 @@ and is particularly relevant to have this abstraction because there are differen For example on unix systems the escape sequence is ``\textbackslash n'', where on Microsoft operating systems the escape sequence is ``\textbackslash r\textbackslash n'' and on IBM mainframe systems the escape sequence is ``\textbackslash 025''. +The class \textbf{json.JsonGeneratorImpl} is then extended by \textbf{json.WriterBasedJsonGenerator} and +\textbf{json.UTF8JsonGenerator}. +For the \textbf{json.WriterBasedJsonGenerator} class uses \textbf{Java.io.Writer}, +so the the system automatically handles character encoding. +For the \textbf{json.UTF8JsonGenerator} the character encoding need to be managed manually because it works on an output stream. \section{Behavioral Patterns}