MySQL 8.4.2
Source Code Documentation
rest_routing_config.cc File Reference
#include "rest_routing_config.h"
#include <rapidjson/document.h>
#include <rapidjson/writer.h>
#include "mysqlrouter/rest_api_utils.h"
#include "mysqlrouter/routing_component.h"

Functions

static void add_if_set (rapidjson::Document &json_doc, const rapidjson::Value::StringRefType member, const std::string &v)
 

Function Documentation

◆ add_if_set()

static void add_if_set ( rapidjson::Document &  json_doc,
const rapidjson::Value::StringRefType  member,
const std::string &  v 
)
static