Alternate version of json_value_add_string_vec where name
is kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | pointer | :: | p | |||
character(kind=CDK,len=*), | intent(in) | :: | name | |||
character(kind=CK,len=*), | intent(in), | dimension(:) | :: | val | ||
logical(kind=LK), | intent(in), | optional | :: | trim_str | ||
logical(kind=LK), | intent(in), | optional | :: | adjustl_str |
subroutine json_value_add_string_vec_name_ascii(json, p, name, val, trim_str, adjustl_str)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer :: p
character(kind=CDK,len=*),intent(in) :: name
character(kind=CK, len=*),dimension(:),intent(in) :: val
logical(LK),intent(in),optional :: trim_str
logical(LK),intent(in),optional :: adjustl_str
call json%add(p, to_unicode(name), val, trim_str, adjustl_str)
end subroutine json_value_add_string_vec_name_ascii