Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(json_value), | intent(in), | pointer | :: | me | ||
character(kind=CK,len=:), | intent(out), | allocatable | :: | str | prints structure to this string |
Print the json_value structure to an allocatable string.
subroutine json_value_to_string(me,str)
implicit none
type(json_value),pointer,intent(in) :: me
character(kind=CK,len=:),intent(out),allocatable :: str !! prints structure to this string
str = ''
call json_value_print(me, iunit=unit2str, str=str, indent=1, colon=.true.)
end subroutine json_value_to_string