Get a logical vector from a json_value, given the path.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | intent(in), | pointer | :: | me | ||
character(kind=CK, len=*), | intent(in) | :: | path | |||
logical(kind=LK), | intent(out), | dimension(:), allocatable | :: | vec | ||
logical(kind=LK), | intent(out), | optional | :: | found | ||
logical(kind=LK), | intent(in), | optional, | dimension(:) | :: | default |
subroutine json_get_logical_vec_by_path(json, me, path, vec, found, default) implicit none class(json_core),intent(inout) :: json type(json_value),pointer,intent(in) :: me character(kind=CK,len=*),intent(in) :: path logical(LK),dimension(:),allocatable,intent(out) :: vec logical(LK),intent(out),optional :: found logical(LK),dimension(:),intent(in),optional :: default character(kind=CK,len=*),parameter :: routine = CK_'json_get_logical_vec_by_path' #include "json_get_vec_by_path.inc" end subroutine json_get_logical_vec_by_path