Poco::RemotingNG::REST

class JSObject

Library: RemotingNG/REST
Package: JSValue
Header: Poco/RemotingNG/REST/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