Alternate version of json_file_variable_info, where "path" is kind=CDK.
If found
is present, no exceptions will be thrown if an
error occurs. Otherwise, an exception will be thrown if the
variable is not found.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_file), | intent(inout) | :: | me | |||
character(kind=CDK,len=*), | intent(in) | :: | path | |||
logical(kind=LK), | intent(out), | optional | :: | found | ||
integer(kind=IK), | intent(out), | optional | :: | var_type | ||
integer(kind=IK), | intent(out), | optional | :: | n_children | ||
character(kind=CK,len=:), | intent(out), | optional | allocatable | :: | name | variable name |
subroutine wrap_json_file_variable_info(me,path,found,var_type,n_children,name)
implicit none
class(json_file),intent(inout) :: me
character(kind=CDK,len=*),intent(in) :: path
logical(LK),intent(out),optional :: found
integer(IK),intent(out),optional :: var_type
integer(IK),intent(out),optional :: n_children
character(kind=CK,len=:),allocatable,intent(out),optional :: name !! variable name
call me%info(to_unicode(path),found,var_type,n_children,name)
end subroutine wrap_json_file_variable_info