Alternate version of json_get_by_path where "path" is kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | intent(in), | pointer | :: | me | ||
character(kind=CDK,len=*), | intent(in) | :: | path | |||
type(json_value), | intent(out), | pointer | :: | p | ||
logical(kind=LK), | intent(out), | optional | :: | found |
subroutine wrap_json_get_by_path(json, me, path, p, found)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer,intent(in) :: me
character(kind=CDK,len=*),intent(in) :: path
type(json_value),pointer,intent(out) :: p
logical(LK),intent(out),optional :: found
call json%get(me, to_unicode(path), p, found)
end subroutine wrap_json_get_by_path