Skip to content

Commit 28d94d1

Browse files
committed
add back ignore text comment
1 parent f634ea8 commit 28d94d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adafruit_json_stream.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ def next_value(self, endswith=None):
128128
# start a string
129129
if char == ord('"'):
130130
in_string = True
131+
132+
# skipping any closing or opening character if in a string
133+
# also skipping escaped characters (like quotes in string)
131134
elif ignore_next:
132135
ignore_next = False
133136
elif char == ord("\\"):

0 commit comments

Comments
 (0)