aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2023-07-24 22:45:59 +0000
committerdrh <>2023-07-24 22:45:59 +0000
commit3d2a559ecb5087f554c36344ca790fb8f4502f2e (patch)
tree9be5a328d99f3f432ea72fe088b1c1f960caa510 /src
parent27553579c0c15fa12d07f85da6ff12ffc1425b35 (diff)
downloadsqlite-3d2a559ecb5087f554c36344ca790fb8f4502f2e.tar.gz
sqlite-3d2a559ecb5087f554c36344ca790fb8f4502f2e.zip
Clean up some #defines in json.
FossilOrigin-Name: 327fff501e36f75d4901c520123c5ca45e0e0da1d9cc8fa8fa877ceb68c686d2
Diffstat (limited to 'src')
-rw-r--r--src/json.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/json.c b/src/json.c
index b109a8759..217c1070c 100644
--- a/src/json.c
+++ b/src/json.c
@@ -109,14 +109,13 @@ static const char * const jsonType[] = {
/* Bit values for the JsonNode.jnFlag field
*/
-#define JNODE_RAW 0x01 /* Content is raw, not JSON encoded */
-#define JNODE_ESCAPE 0x02 /* Content is text with \ escapes */
-#define JNODE_REMOVE 0x04 /* Do not output */
-#define JNODE_REPLACE 0x08 /* Target of a JSON_SUBST node */
- /* 0x10 Available for reuse */
-#define JNODE_APPEND 0x20 /* More ARRAY/OBJECT entries at u.iAppend */
-#define JNODE_LABEL 0x40 /* Is a label of an object */
-#define JNODE_JSON5 0x80 /* Node contains JSON5 enhancements */
+#define JNODE_RAW 0x01 /* Content is raw, not JSON encoded */
+#define JNODE_ESCAPE 0x02 /* Content is text with \ escapes */
+#define JNODE_REMOVE 0x04 /* Do not output */
+#define JNODE_REPLACE 0x08 /* Target of a JSON_SUBST node */
+#define JNODE_APPEND 0x10 /* More ARRAY/OBJECT entries at u.iAppend */
+#define JNODE_LABEL 0x20 /* Is a label of an object */
+#define JNODE_JSON5 0x40 /* Node contains JSON5 enhancements */
/* A single node of parsed JSON