Alternate version of json_parse_string, where str
is kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | pointer | :: | p | output structure |
||
character(kind=CDK,len=*), | intent(in) | :: | str | string with JSON data |
subroutine wrap_json_parse_string(json, p, str)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer :: p !! output structure
character(kind=CDK,len=*),intent(in) :: str !! string with JSON data
call json%parse(p,to_unicode(str))
end subroutine wrap_json_parse_string