File tree Expand file tree Collapse file tree
StyleCop.Analyzers/StyleCop.Analyzers/LightJson/Serialization Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,15 +136,15 @@ private void WriteEncodedJsonValue(JsonValue value)
136136 switch ( value . Type )
137137 {
138138 case JsonValueType . Null :
139- this . writer . Write ( "null" ) ;
139+ this . Write ( "null" ) ;
140140 break ;
141141
142142 case JsonValueType . Boolean :
143- this . writer . Write ( value . AsString ) ;
143+ this . Write ( value . AsString ) ;
144144 break ;
145145
146146 case JsonValueType . Number :
147- this . writer . Write ( ( ( double ) value ) . ToString ( CultureInfo . InvariantCulture ) ) ;
147+ this . Write ( ( ( double ) value ) . ToString ( CultureInfo . InvariantCulture ) ) ;
148148 break ;
149149
150150 default :
@@ -246,12 +246,6 @@ private void RemoveRenderingCollection(IEnumerable<JsonValue> value)
246246
247247 private void Render ( JsonValue value )
248248 {
249- if ( this . isNewLine )
250- {
251- this . isNewLine = false ;
252- this . WriteIndentation ( ) ;
253- }
254-
255249 switch ( value . Type )
256250 {
257251 case JsonValueType . Null :
You can’t perform that action at this time.
0 commit comments