FlightGear next
flightgear::http::JSON Class Reference

#include <jsonprops.hxx>

Static Public Member Functions

static cJSON * toJson (SGPropertyNode_ptr n, int depth, double timestamp=-1.0)
 
static std::string toJsonString (bool indent, SGPropertyNode_ptr n, int depth, double timestamp=-1.0)
 
static const char * getPropertyTypeString (simgear::props::Type type)
 
static cJSON * valueToJson (SGPropertyNode_ptr n)
 
static void toProp (cJSON *json, SGPropertyNode_ptr base)
 
static void addChildrenToProp (cJSON *json, SGPropertyNode_ptr base)
 

Detailed Description

Definition at line 31 of file jsonprops.hxx.

Member Function Documentation

◆ addChildrenToProp()

void flightgear::http::JSON::addChildrenToProp ( cJSON * json,
SGPropertyNode_ptr base )
static

Definition at line 190 of file jsonprops.cxx.

◆ getPropertyTypeString()

const char * flightgear::http::JSON::getPropertyTypeString ( simgear::props::Type type)
static

Definition at line 29 of file jsonprops.cxx.

◆ toJson()

cJSON * flightgear::http::JSON::toJson ( SGPropertyNode_ptr n,
int depth,
double timestamp = -1.0 )
static

Definition at line 95 of file jsonprops.cxx.

◆ toJsonString()

string flightgear::http::JSON::toJsonString ( bool indent,
SGPropertyNode_ptr n,
int depth,
double timestamp = -1.0 )
static

Definition at line 203 of file jsonprops.cxx.

◆ toProp()

void flightgear::http::JSON::toProp ( cJSON * json,
SGPropertyNode_ptr base )
static

Definition at line 133 of file jsonprops.cxx.

◆ valueToJson()

cJSON * flightgear::http::JSON::valueToJson ( SGPropertyNode_ptr n)
static

Definition at line 73 of file jsonprops.cxx.


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