@@ -533,6 +533,7 @@ def parse_data(
533533 validate_multi_error : bool = False ,
534534 store_only : bool = False ,
535535 json_null : bool = False ,
536+ json_string_datatypes : bool = False ,
536537 ) -> Optional [DNode ]:
537538 if self .cdata is None :
538539 raise RuntimeError ("context already destroyed" )
@@ -545,6 +546,7 @@ def parse_data(
545546 strict = strict ,
546547 store_only = store_only ,
547548 json_null = json_null ,
549+ json_string_datatypes = json_string_datatypes ,
548550 )
549551 validation_flgs = validation_flags (
550552 no_state = no_state ,
@@ -604,6 +606,7 @@ def parse_data_mem(
604606 validate_multi_error : bool = False ,
605607 store_only : bool = False ,
606608 json_null : bool = False ,
609+ json_string_datatypes : bool = False ,
607610 ) -> Optional [DNode ]:
608611 return self .parse_data (
609612 fmt ,
@@ -620,6 +623,7 @@ def parse_data_mem(
620623 validate_multi_error = validate_multi_error ,
621624 store_only = store_only ,
622625 json_null = json_null ,
626+ json_string_datatypes = json_string_datatypes ,
623627 )
624628
625629 def parse_data_file (
@@ -637,6 +641,7 @@ def parse_data_file(
637641 validate_multi_error : bool = False ,
638642 store_only : bool = False ,
639643 json_null : bool = False ,
644+ json_string_datatypes : bool = False ,
640645 ) -> Optional [DNode ]:
641646 return self .parse_data (
642647 fmt ,
@@ -653,6 +658,7 @@ def parse_data_file(
653658 validate_multi_error = validate_multi_error ,
654659 store_only = store_only ,
655660 json_null = json_null ,
661+ json_string_datatypes = json_string_datatypes ,
656662 )
657663
658664 def __iter__ (self ) -> Iterator [Module ]:
0 commit comments