Vowpal Wabbit
Classes | Namespaces | Macros | Functions
parse_example_json.h File Reference
#include "parse_primitives.h"
#include "v_array.h"
#include <rapidjson/reader.h>
#include <rapidjson/error/en.h>
#include "cb.h"
#include "conditional_contextual_bandit.h"
#include "cb_continuous_label.h"
#include "best_constant.h"
#include "json_utils.h"
#include "parse_slates_example_json.h"
#include "vw_string_view.h"
#include <algorithm>
#include <vector>
#include <limits>
#include <sstream>

Classes

struct  BaseState< audit >
 
struct  Context< audit >
 
struct  BaseState< audit >
 
class  LabelObjectState< audit >
 
struct  LabelSinglePropertyState< audit >
 
struct  LabelIndexState< audit >
 
struct  LabelState< audit >
 
struct  TextState< audit >
 
struct  TagState< audit >
 
struct  MultiState< audit >
 
struct  SlotsState< audit >
 
class  ArrayState< audit >
 
struct  IgnoreState< audit >
 
class  DefaultState< audit >
 
class  ArrayToVectorState< audit, T >
 
class  StringToStringState< audit >
 
class  FloatToFloatState< audit >
 
class  UIntToUIntState< audit >
 
class  BoolToBoolState< audit >
 
class  SlotOutcomeList< audit >
 
class  DecisionServiceState< audit >
 
struct  Context< audit >
 
struct  VWReaderHandler< audit >
 
struct  json_parser< audit >
 

Namespaces

 VW
 [Error Generator]
 

Macros

#define _stricmp   strcasecmp
 

Functions

template<bool audit>
void VW::read_line_json (vw &all, v_array< example * > &examples, char *line, example_factory_t example_factory, void *ex_factory_context)
 
void VW::apply_pdrop (vw &all, float pdrop, v_array< example * > &examples)
 
template<bool audit>
void VW::read_line_decision_service_json (vw &all, v_array< example * > &examples, char *line, size_t length, bool copy_line, example_factory_t example_factory, void *ex_factory_context, DecisionServiceInteraction *data)
 
template<bool audit>
bool parse_line_json (vw *all, char *line, size_t num_chars, v_array< example * > &examples)
 
void append_empty_newline_example_for_driver (vw *all, v_array< example * > &examples)
 
template<bool audit>
void line_to_examples_json (vw *all, char *line, size_t num_chars, v_array< example * > &examples)
 
template<bool audit>
int read_features_json (vw *all, v_array< example * > &examples)
 

Macro Definition Documentation

#define _stricmp   strcasecmp

Function Documentation

void append_empty_newline_example_for_driver ( vw all,
v_array< example * > &  examples 
)
inline
template<bool audit>
void line_to_examples_json ( vw all,
char *  line,
size_t  num_chars,
v_array< example * > &  examples 
)
template<bool audit>
bool parse_line_json ( vw all,
char *  line,
size_t  num_chars,
v_array< example * > &  examples 
)
template<bool audit>
int read_features_json ( vw all,
v_array< example * > &  examples 
)