@@ -386,17 +386,6 @@ module json_value_module
386
386
procedure :: json_add_string_vec_by_path_path_ascii
387
387
#endif
388
388
389
- ! >
390
- ! Rename a variable, by specifying its path.
391
- generic,public :: rename_by_path = > MAYBEWRAP(json_rename_by_path)
392
- procedure :: MAYBEWRAP(json_rename_by_path)
393
- #ifdef USE_UCS4
394
- generic,public :: rename_by_path = > json_rename_by_path_name_ascii,&
395
- json_rename_by_path_path_ascii
396
- procedure :: json_rename_by_path_name_ascii
397
- procedure :: json_rename_by_path_path_ascii
398
- #endif
399
-
400
389
! >
401
390
! Create a [[json_value]] linked list using the
402
391
! path to the variables. Optionally return a
@@ -636,8 +625,16 @@ module json_value_module
636
625
637
626
! >
638
627
! Rename a [[json_value]] variable.
639
- generic,public :: rename = > MAYBEWRAP(json_value_rename)
628
+ generic,public :: rename = > MAYBEWRAP(json_value_rename),&
629
+ MAYBEWRAP(json_rename_by_path)
640
630
procedure :: MAYBEWRAP(json_value_rename)
631
+ procedure :: MAYBEWRAP(json_rename_by_path)
632
+ #ifdef USE_UCS4
633
+ generic,public :: rename = > json_rename_by_path_name_ascii,&
634
+ json_rename_by_path_path_ascii
635
+ procedure :: json_rename_by_path_name_ascii
636
+ procedure :: json_rename_by_path_path_ascii
637
+ #endif
641
638
642
639
! >
643
640
! get info about a [[json_value]]
@@ -5747,7 +5744,7 @@ subroutine wrap_json_rename_by_path(json, me, path, name, found)
5747
5744
character (kind= CDK,len=* ),intent (in ) :: name
5748
5745
logical (LK),intent (out ),optional :: found
5749
5746
5750
- call json% rename_by_path (me,to_unicode(path),to_unicode(name),found)
5747
+ call json% rename (me,to_unicode(path),to_unicode(name),found)
5751
5748
5752
5749
end subroutine wrap_json_rename_by_path
5753
5750
! *****************************************************************************************
@@ -5766,7 +5763,7 @@ subroutine json_rename_by_path_name_ascii(json, me, path, name, found)
5766
5763
character (kind= CDK,len=* ),intent (in ) :: name
5767
5764
logical (LK),intent (out ),optional :: found
5768
5765
5769
- call json% rename_by_path (me,path,to_unicode(name),found)
5766
+ call json% rename (me,path,to_unicode(name),found)
5770
5767
5771
5768
end subroutine json_rename_by_path_name_ascii
5772
5769
! *****************************************************************************************
@@ -5785,7 +5782,7 @@ subroutine json_rename_by_path_path_ascii(json, me, path, name, found)
5785
5782
character (kind= CK,len=* ),intent (in ) :: name
5786
5783
logical (LK),intent (out ),optional :: found
5787
5784
5788
- call json% rename_by_path (me,to_unicode(path),name,found)
5785
+ call json% rename (me,to_unicode(path),name,found)
5789
5786
5790
5787
end subroutine json_rename_by_path_path_ascii
5791
5788
! *****************************************************************************************
0 commit comments