30 #ifndef PT_JSON_NULL_H
31 #define PT_JSON_NULL_H
33 #include <Pt/Json/Api.h>
34 #include <Pt/Json/Node.h>
52 inline static const Node::Type nodeId()
53 {
return Node::Null; }
62 return nodeCast<Null>(node);
71 return nodeCast<Null>(node);
80 return nodeCast<Null>(node);
89 return nodeCast<Null>(node);
96 #endif // nclude guard
const Null & toNull(const Node &node)
Casts a generic node to a null node.
Definition: Null.h:87
Represents a null value.
Definition: Null.h:42
JSON document node.
Definition: Node.h:51
Null & toNull(Node &node)
Casts a generic node to a null node.
Definition: Null.h:78
const Null * toNull(const Node *node)
Casts a generic node to a null node.
Definition: Null.h:69
Null * toNull(Node *node)
Casts a generic node to a null node.
Definition: Null.h:60
Null()
Constructor.
Definition: Null.h:47