Alternate version of json_valid_path where “path” is kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | intent(in), | pointer | :: | p |
a JSON linked list |
|
character(kind=CDK, len=*), | intent(in) | :: | path |
path to the variable |
true if it was found
function wrap_json_valid_path(json, p, path) result(found) implicit none class(json_core),intent(inout) :: json type(json_value),pointer,intent(in) :: p !! a JSON linked list character(kind=CDK,len=*),intent(in) :: path !! path to the variable logical(LK) :: found !! true if it was found found = json%valid_path(p, to_unicode(path)) end function wrap_json_valid_path