Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_file), | intent(inout) | :: | me | |||
type(json_value), | intent(out), | pointer | :: | p | pointer to the variable |
Get a json_value pointer to the JSON file root.
json_file%get('$',p)
subroutine json_file_get_root(me,p)
implicit none
class(json_file),intent(inout) :: me
type(json_value),pointer,intent(out) :: p !! pointer to the variable
p => me%p
end subroutine json_file_get_root