xgboost

Public Member Functions | List of all members
xgboost::JsonWriter Class Reference

`#include <json_io.h>`

Collaboration diagram for xgboost::JsonWriter:

## Public Member Functions
| JsonWriter (std::vector< char > *stream)
virtual | ~JsonWriter ()=default
void | Save (Json json)
virtual void | Visit (JsonArray const *arr)
virtual void | Visit (JsonObject const *obj)
virtual void | Visit (JsonNumber const *num)
virtual void | Visit (JsonInteger const *num)
virtual void | Visit (JsonNull const *null)
virtual void | Visit (JsonString const *str)
virtual void | Visit (JsonBoolean const *boolean)

## Constructor & Destructor Documentation

## ◆ JsonWriter()

xgboost::JsonWriter::JsonWriter | ( | std::vector< char > * | stream | ) |
| inline explicit

## ◆ ~JsonWriter()

virtual xgboost::JsonWriter::~JsonWriter | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ Save()

void xgboost::JsonWriter::Save | ( | Json | json | ) |

## ◆ Visit() [1/7]

virtual void xgboost::JsonWriter::Visit | ( | JsonArray const * | arr | ) |
| virtual

## ◆ Visit() [2/7]

virtual void xgboost::JsonWriter::Visit | ( | JsonBoolean const * | boolean | ) |
| virtual

## ◆ Visit() [3/7]

virtual void xgboost::JsonWriter::Visit | ( | JsonInteger const * | num | ) |
| virtual

## ◆ Visit() [4/7]

virtual void xgboost::JsonWriter::Visit | ( | JsonNull const * | null | ) |
| virtual

## ◆ Visit() [5/7]

virtual void xgboost::JsonWriter::Visit | ( | JsonNumber const * | num | ) |
| virtual

## ◆ Visit() [6/7]

virtual void xgboost::JsonWriter::Visit | ( | JsonObject const * | obj | ) |
| virtual

## ◆ Visit() [7/7]

virtual void xgboost::JsonWriter::Visit | ( | JsonString const * | str | ) |
| virtual

The documentation for this class was generated from the following file:

- /home/runner/work/xgboost/xgboost/include/xgboost/json_io.h