aboutsummaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'types.go')
-rw-r--r--types.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/types.go b/types.go
new file mode 100644
index 0000000..090eeac
--- /dev/null
+++ b/types.go
@@ -0,0 +1,12 @@
+package json
+
+type NodeType string
+
+const (
+ StringType NodeType = "string"
+ NumberType NodeType = "number"
+ ObjectType NodeType = "object"
+ ArrayType NodeType = "array"
+ BooleanType NodeType = "boolean"
+ NullType NodeType = "null"
+)