File Information
Library: RemotingNG/JSONRPC
Package: JSValue
Header: Poco/RemotingNG/JSONRPC/JSObject.h
Description
This class represents a JSON Object.
Internal representation is a std::map from std::string to JSValue::Ptr. Element access is by name.
Inheritance
Direct Base Classes: JSValue
All Base Classes: Poco::RefCountedObject, JSValue
Member Summary
Member Functions: has, operator [], size, type
Inherited Functions: asBool, asDouble, asInt32, asInt64, asUInt32, asUInt64, duplicate, has, operator [], referenceCount, release, size, stringValue, type
Constructors
JSObject
JSObject();
Creates an empty JSObject.
Destructor
~JSObject
~JSObject();
Destroys the JSObject.
Member Functions
has
bool has(
const std::string & name
) const;
operator []
const Ptr & operator[] (
const std::string & name
) const;
operator []
Ptr & operator[] (
const std::string & name
);
size
std::size_t size() const;
type
Type type() const;