@@ -524,6 +524,7 @@ def parse_data(
524
524
validate_multi_error : bool = False ,
525
525
store_only : bool = False ,
526
526
json_null : bool = False ,
527
+ json_string_datatypes : bool = False ,
527
528
) -> Optional [DNode ]:
528
529
if self .cdata is None :
529
530
raise RuntimeError ("context already destroyed" )
@@ -536,6 +537,7 @@ def parse_data(
536
537
strict = strict ,
537
538
store_only = store_only ,
538
539
json_null = json_null ,
540
+ json_string_datatypes = json_string_datatypes ,
539
541
)
540
542
validation_flgs = validation_flags (
541
543
no_state = no_state ,
@@ -595,6 +597,7 @@ def parse_data_mem(
595
597
validate_multi_error : bool = False ,
596
598
store_only : bool = False ,
597
599
json_null : bool = False ,
600
+ json_string_datatypes : bool = False ,
598
601
) -> Optional [DNode ]:
599
602
return self .parse_data (
600
603
fmt ,
@@ -611,6 +614,7 @@ def parse_data_mem(
611
614
validate_multi_error = validate_multi_error ,
612
615
store_only = store_only ,
613
616
json_null = json_null ,
617
+ json_string_datatypes = json_string_datatypes ,
614
618
)
615
619
616
620
def parse_data_file (
@@ -628,6 +632,7 @@ def parse_data_file(
628
632
validate_multi_error : bool = False ,
629
633
store_only : bool = False ,
630
634
json_null : bool = False ,
635
+ json_string_datatypes : bool = False ,
631
636
) -> Optional [DNode ]:
632
637
return self .parse_data (
633
638
fmt ,
@@ -644,6 +649,7 @@ def parse_data_file(
644
649
validate_multi_error = validate_multi_error ,
645
650
store_only = store_only ,
646
651
json_null = json_null ,
652
+ json_string_datatypes = json_string_datatypes ,
647
653
)
648
654
649
655
def __iter__ (self ) -> Iterator [Module ]:
0 commit comments