30#ifndef PT_JSON_STRING_H
31#define PT_JSON_STRING_H
33#include <Pt/Json/Api.h>
34#include <Pt/Json/Node.h>
67 inline static const Node::Type nodeId()
82 return nodeCast<String>(node);
91 return nodeCast<String>(node);
100 return nodeCast<String>(node);
109 return nodeCast<String>(node);
Node(Type type)
Constructs a new Node object with the specified node type.
Definition Node.h:83
String * toString(Node *node)
Casts a generic node to a string node.
Definition String.h:80
String()
Constructor.
Definition String.h:47
String & toString(Node &node)
Casts a generic node to a string node.
Definition String.h:98
const String * toString(const Node *node)
Casts a generic node to a string node.
Definition String.h:89
const String & toString(const Node &node)
Casts a generic node to a string node.
Definition String.h:107
Unicode capable basic_string.
Definition Api-String.h:67
void clear()
Clears the string.
Definition Api-String.h:391
Read and write JSON ducuments.
Core module.
Definition Allocator.h:33