@@ -990,7 +990,7 @@ end function json_failed
990
990
! Allocate a json_value pointer variable.
991
991
! This should be called before adding data to it.
992
992
! Example:
993
- ! type(json_value),pointer :: var
993
+ ! type(json_value),pointer :: var
994
994
! call json_value_create(var)
995
995
! call to_real(var,1.0d0)
996
996
!
@@ -2760,9 +2760,6 @@ subroutine json_get_chars(this, path, value, found)
2760
2760
end subroutine json_get_chars
2761
2761
! ********************************************************************************
2762
2762
2763
- ! ********************************************************************************
2764
-
2765
- subroutine json_get_char_vec (me , path , vec , found )
2766
2763
! ********************************************************************************
2767
2764
! ****f* json_module/json_get_char_vec
2768
2765
!
@@ -2775,7 +2772,9 @@ subroutine json_get_char_vec(me, path, vec, found)
2775
2772
! AUTHOR
2776
2773
! Jacob Williams : 5/14/2014
2777
2774
!
2778
- ! ********************************************************************************
2775
+ ! SOURCE
2776
+
2777
+ subroutine json_get_char_vec (me , path , vec , found )
2779
2778
2780
2779
implicit none
2781
2780
@@ -2794,13 +2793,10 @@ subroutine json_get_char_vec(me, path, vec, found)
2794
2793
call json_get(me, path= path, array_callback= get_chars_from_array, found= found)
2795
2794
2796
2795
contains
2797
- ! ********************************************************************************
2798
2796
2799
- ! *********************************************************
2797
+ ! callback function for chars
2800
2798
subroutine get_chars_from_array (element , i , count )
2801
- ! *********************************************************
2802
- ! callback function for chars
2803
- ! *********************************************************
2799
+
2804
2800
implicit none
2805
2801
2806
2802
type (json_value),pointer ,intent (in ) :: element
@@ -2824,11 +2820,8 @@ subroutine get_chars_from_array(element, i, count)
2824
2820
vec(i) = ' '
2825
2821
end if
2826
2822
2827
- ! *********************************************************
2828
2823
end subroutine get_chars_from_array
2829
- ! *********************************************************
2830
2824
2831
- ! ********************************************************************************
2832
2825
end subroutine json_get_char_vec
2833
2826
! ********************************************************************************
2834
2827
@@ -3494,6 +3487,7 @@ recursive subroutine parse_object(unit, parent)
3494
3487
3495
3488
contains
3496
3489
3490
+ ! cleanup routine:
3497
3491
subroutine cleanup ()
3498
3492
3499
3493
implicit none
0 commit comments