Poco::RemotingNG::REST

class JSArray

File Information

Library: RemotingNG/REST
Package: JSValue
Header: Poco/RemotingNG/REST/JSArray.h

Description

This class represents a JSON Array.

Internal representation is a std::vector. Element access is by numeric index (0 .. size - 1).

The JSArray can be grown by accessing the size-th element.

Inheritance

Direct Base Classes: JSValue

All Base Classes: Poco::RefCountedObject, JSValue

Member Summary

Member Functions: operator [], size, type

Inherited Functions: asBool, asDouble, asInt32, asInt64, asUInt32, asUInt64, duplicate, has, operator [], referenceCount, release, size, stringValue, type

Constructors

JSArray

JSArray();

Creates an empty JSArray.

Destructor

~JSArray protected virtual

~JSArray();

Destroys the JSArray.

Member Functions

operator [] virtual

const Ptr & operator[] (
    std::size_t index
) const;

operator [] virtual

Ptr & operator[] (
    std::size_t index
);

size virtual

std::size_t size() const;

type virtual

Type type() const;

Securely control IoT edge devices from anywhere   Connect a Device