BusBoy  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
BUSBOY::JanssonUtil Class Reference

#include <JanssonUtil.h>

Static Public Member Functions

static std::string toStringAndFree (json_t *jsonObject)
 
static json_t * fromString (const std::string &json)
 
static json_t * toJsonString (const std::string &str)
 
static std::string fromJsonString (const json_t *jsonString)
 
static json_t * stringSetToJson (const std::set< std::string > &strs)
 
static std::set< std::string > stringSetFromJsonArray (const json_t *jsonArray)
 
static void assertJsonType (const json_t *json, json_type type)
 

Member Function Documentation

void BUSBOY::JanssonUtil::assertJsonType ( const json_t *  json,
json_type  type 
)
static
std::string BUSBOY::JanssonUtil::fromJsonString ( const json_t *  jsonString)
static
json_t * BUSBOY::JanssonUtil::fromString ( const std::string &  json)
static
std::set< std::string > BUSBOY::JanssonUtil::stringSetFromJsonArray ( const json_t *  jsonArray)
static
json_t * BUSBOY::JanssonUtil::stringSetToJson ( const std::set< std::string > &  strs)
static
json_t * BUSBOY::JanssonUtil::toJsonString ( const std::string &  str)
static
std::string BUSBOY::JanssonUtil::toStringAndFree ( json_t *  jsonObject)
static

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

Copyright 2014 Google Inc. All rights reserved.