Poco::RemotingNG::JSONRPC

class JSObject

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 protected virtual

~JSObject();

Destroys the JSObject.

Member Functions

has virtual

bool has(
    const std::string & name
) const;

operator [] virtual

const Ptr & operator[] (
    const std::string & name
) const;

operator [] virtual

Ptr & operator[] (
    const std::string & name
);

size virtual

std::size_t size() const;

type virtual

Type type() const;

Securely control IoT edge devices from anywhere   Connect a Device