Returns true if the path
is present in the JSON file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_file), | intent(inout) | :: | me | |||
character(kind=CK,len=*), | intent(in) | :: | path | the path to the variable |
if the variable was found
function json_file_valid_path(me,path) result(found)
implicit none
class(json_file),intent(inout) :: me
character(kind=CK,len=*),intent(in) :: path !! the path to the variable
logical(LK) :: found !! if the variable was found
found = me%core%valid_path(me%p, path)
end function json_file_valid_path