Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fson_value), | pointer | :: | this | |||
character(len=*), | intent(in) | :: | name |
function get_by_name_chars(this, name) result(p)
use fson_string_m, only: fson_string, fson_string_create
implicit none
type(fson_value), pointer :: this, p
character(len=*), intent(in) :: name
type(fson_string), pointer :: string
! convert the char array into a string
string => fson_string_create(name)
p => get_by_name_string(this, string)
end function get_by_name_chars