@@ -520,6 +520,7 @@ def parse_data(
520
520
validate_present : bool = False ,
521
521
validate_multi_error : bool = False ,
522
522
store_only : bool = False ,
523
+ json_null : bool = False ,
523
524
) -> Optional [DNode ]:
524
525
if self .cdata is None :
525
526
raise RuntimeError ("context already destroyed" )
@@ -531,6 +532,7 @@ def parse_data(
531
532
ordered = ordered ,
532
533
strict = strict ,
533
534
store_only = store_only ,
535
+ json_null = json_null ,
534
536
)
535
537
validation_flgs = validation_flags (
536
538
no_state = no_state ,
@@ -589,6 +591,7 @@ def parse_data_mem(
589
591
validate_present : bool = False ,
590
592
validate_multi_error : bool = False ,
591
593
store_only : bool = False ,
594
+ json_null : bool = False ,
592
595
) -> Optional [DNode ]:
593
596
return self .parse_data (
594
597
fmt ,
@@ -604,6 +607,7 @@ def parse_data_mem(
604
607
validate_present = validate_present ,
605
608
validate_multi_error = validate_multi_error ,
606
609
store_only = store_only ,
610
+ json_null = json_null ,
607
611
)
608
612
609
613
def parse_data_file (
@@ -620,6 +624,7 @@ def parse_data_file(
620
624
validate_present : bool = False ,
621
625
validate_multi_error : bool = False ,
622
626
store_only : bool = False ,
627
+ json_null : bool = False ,
623
628
) -> Optional [DNode ]:
624
629
return self .parse_data (
625
630
fmt ,
@@ -635,6 +640,7 @@ def parse_data_file(
635
640
validate_present = validate_present ,
636
641
validate_multi_error = validate_multi_error ,
637
642
store_only = store_only ,
643
+ json_null = json_null ,
638
644
)
639
645
640
646
def __iter__ (self ) -> Iterator [Module ]:
0 commit comments