@@ -990,7 +990,7 @@ end function json_failed
990990! Allocate a json_value pointer variable.
991991! This should be called before adding data to it.
992992! Example:
993- ! type(json_value),pointer :: var
993+ ! type(json_value),pointer :: var
994994! call json_value_create(var)
995995! call to_real(var,1.0d0)
996996!
@@ -2760,9 +2760,6 @@ subroutine json_get_chars(this, path, value, found)
27602760 end subroutine json_get_chars
27612761! ********************************************************************************
27622762
2763- ! ********************************************************************************
2764-
2765- subroutine json_get_char_vec (me , path , vec , found )
27662763! ********************************************************************************
27672764! ****f* json_module/json_get_char_vec
27682765!
@@ -2775,7 +2772,9 @@ subroutine json_get_char_vec(me, path, vec, found)
27752772! AUTHOR
27762773! Jacob Williams : 5/14/2014
27772774!
2778- ! ********************************************************************************
2775+ ! SOURCE
2776+
2777+ subroutine json_get_char_vec (me , path , vec , found )
27792778
27802779 implicit none
27812780
@@ -2794,13 +2793,10 @@ subroutine json_get_char_vec(me, path, vec, found)
27942793 call json_get(me, path= path, array_callback= get_chars_from_array, found= found)
27952794
27962795 contains
2797- ! ********************************************************************************
27982796
2799- ! *********************************************************
2797+ ! callback function for chars
28002798 subroutine get_chars_from_array (element , i , count )
2801- ! *********************************************************
2802- ! callback function for chars
2803- ! *********************************************************
2799+
28042800 implicit none
28052801
28062802 type (json_value),pointer ,intent (in ) :: element
@@ -2824,11 +2820,8 @@ subroutine get_chars_from_array(element, i, count)
28242820 vec(i) = ' '
28252821 end if
28262822
2827- ! *********************************************************
28282823 end subroutine get_chars_from_array
2829- ! *********************************************************
28302824
2831- ! ********************************************************************************
28322825 end subroutine json_get_char_vec
28332826! ********************************************************************************
28342827
@@ -3494,6 +3487,7 @@ recursive subroutine parse_object(unit, parent)
34943487
34953488 contains
34963489
3490+ ! cleanup routine:
34973491 subroutine cleanup ()
34983492
34993493 implicit none
0 commit comments