| 12 | //////////////////////////////////////////////////////////////////////////////// |
| 13 | |
| 14 | TJsonWriter::TJsonWriter( |
| 15 | IOutputStream* output, |
| 16 | ::NYson::EYsonType type, |
| 17 | EJsonFormat format, |
| 18 | EJsonAttributesMode attributesMode, |
| 19 | ESerializedBoolFormat booleanFormat) |
| 20 | : TJsonWriter( |
| 21 | output, |
| 22 | NJson::TJsonWriterConfig{}.SetFormatOutput(format == JF_PRETTY), |
| 23 | type, |
| 24 | attributesMode, |
| 25 | booleanFormat |
| 26 | ) |
| 27 | {} |
| 28 | |
| 29 | TJsonWriter::TJsonWriter( |
| 30 | IOutputStream* output, |
nothing calls this directly
no test coverage detected