From 28d94d1b1611e74adaf9e5f33c705a0f3e9ec12f Mon Sep 17 00:00:00 2001 From: foamyguy Date: Fri, 16 May 2025 13:18:34 -0500 Subject: [PATCH] add back ignore text comment --- adafruit_json_stream.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adafruit_json_stream.py b/adafruit_json_stream.py index 91494a1..fe863d1 100644 --- a/adafruit_json_stream.py +++ b/adafruit_json_stream.py @@ -128,6 +128,9 @@ def next_value(self, endswith=None): # start a string if char == ord('"'): in_string = True + + # skipping any closing or opening character if in a string + # also skipping escaped characters (like quotes in string) elif ignore_next: ignore_next = False elif char == ord("\\"):