@@ -533,6 +533,7 @@ def parse_data(
533
533
validate_multi_error : bool = False ,
534
534
store_only : bool = False ,
535
535
json_null : bool = False ,
536
+ json_string_datatypes : bool = False ,
536
537
) -> Optional [DNode ]:
537
538
if self .cdata is None :
538
539
raise RuntimeError ("context already destroyed" )
@@ -545,6 +546,7 @@ def parse_data(
545
546
strict = strict ,
546
547
store_only = store_only ,
547
548
json_null = json_null ,
549
+ json_string_datatypes = json_string_datatypes ,
548
550
)
549
551
validation_flgs = validation_flags (
550
552
no_state = no_state ,
@@ -604,6 +606,7 @@ def parse_data_mem(
604
606
validate_multi_error : bool = False ,
605
607
store_only : bool = False ,
606
608
json_null : bool = False ,
609
+ json_string_datatypes : bool = False ,
607
610
) -> Optional [DNode ]:
608
611
return self .parse_data (
609
612
fmt ,
@@ -620,6 +623,7 @@ def parse_data_mem(
620
623
validate_multi_error = validate_multi_error ,
621
624
store_only = store_only ,
622
625
json_null = json_null ,
626
+ json_string_datatypes = json_string_datatypes ,
623
627
)
624
628
625
629
def parse_data_file (
@@ -637,6 +641,7 @@ def parse_data_file(
637
641
validate_multi_error : bool = False ,
638
642
store_only : bool = False ,
639
643
json_null : bool = False ,
644
+ json_string_datatypes : bool = False ,
640
645
) -> Optional [DNode ]:
641
646
return self .parse_data (
642
647
fmt ,
@@ -653,6 +658,7 @@ def parse_data_file(
653
658
validate_multi_error = validate_multi_error ,
654
659
store_only = store_only ,
655
660
json_null = json_null ,
661
+ json_string_datatypes = json_string_datatypes ,
656
662
)
657
663
658
664
def __iter__ (self ) -> Iterator [Module ]:
0 commit comments