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);
116 #endif // nclude guard
Core module.
Definition: Allocator.h:33
const String * toString(const Node *node)
Casts a generic node to a string node.
Definition: String.h:89
void clear()
Clears the string.
Definition: Api-String.h:368
String()
Constructor.
Definition: String.h:47
String * toString(Node *node)
Casts a generic node to a string node.
Definition: String.h:80
String & toString(Node &node)
Casts a generic node to a string node.
Definition: String.h:98
JSON document node.
Definition: Node.h:52
const String & toString(const Node &node)
Casts a generic node to a string node.
Definition: String.h:107
Represents a string.
Definition: String.h:43
Unicode capable basic_string.
Definition: Api-String.h:44