File Information
Library: RemotingNG/JSONRPC
Package: JSValue
Header: Poco/RemotingNG/JSONRPC/JSScalar.h
Description
This class represents a scalar JSON value.
Internal storage is always as std::string.
Inheritance
Direct Base Classes: JSValue
All Base Classes: Poco::RefCountedObject, JSValue
Member Summary
Member Functions: stringValue, type
Inherited Functions: asBool, asDouble, asInt32, asInt64, asUInt32, asUInt64, duplicate, has, operator [], referenceCount, release, size, stringValue, type
Constructors
JSScalar
JSScalar(
Type type = JS_STRING
);
Creates an empty JSScalar with the given type.
JSScalar
JSScalar(
const std::string & value,
Type type = JS_STRING
);
Creates a JSScalar with the given value and type.
Destructor
~JSScalar
~JSScalar();
Destroys the JSScalar.
Member Functions
stringValue
const std::string & stringValue() const;
type
Type type() const;