JsonCpp project page JsonCpp home page

Classes | Namespaces | Enumerations | Functions
value.h File Reference
#include "forwards.h"
#include <string>
#include <vector>
#include <exception>
#include <map>

Go to the source code of this file.

Classes

class  Json::StaticString
 Lightweight wrapper to tag static string. More...
class  Json::Value
 Represents a JSON value. More...
struct  Json::Value::CommentInfo
union  Json::Value::ValueHolder
class  Json::PathArgument
 Experimental and untested: represents an element of the "path" to access a node. More...
class  Json::Path
 Experimental and untested: represents a "path" to access a node. More...
class  Json::ValueIteratorBase
 base class for Value iterators. More...
class  Json::ValueConstIterator
 const iterator for object and array value. More...
class  Json::ValueIterator
 Iterator for object and array value. More...

Namespaces

namespace  Json
 JSON (JavaScript Object Notation).

Enumerations

enum  Json::ValueType {
  Json::nullValue = 0, Json::intValue, Json::uintValue, Json::realValue,
  Json::stringValue, Json::booleanValue, Json::arrayValue, Json::objectValue
}
 Type of the value held by a Value object. More...
enum  Json::CommentPlacement { Json::commentBefore = 0, Json::commentAfterOnSameLine, Json::commentAfter, Json::numberOfCommentPlacement }

Functions

void Json::throwRuntimeError (std::string const &msg)
 used internally
void Json::throwLogicError (std::string const &msg)
 used internally
template<>
void std::swap (Json::Value &a, Json::Value &b)
 Specialize std::swap() for Json::Value.