json_file_get_object Subroutine

private subroutine json_file_get_object(me, path, p, found)

Arguments

Type IntentOptional AttributesName
class(json_file), intent(inout) :: me
character(kind=CK,len=*), intent(in) :: path

the path to the variable

type(json_value), intent(out), pointer:: p

pointer to the variable

logical(kind=LK), intent(out), optional :: found

if it was really found

Description

Get a json_value pointer to an object from a JSON file.

Calls

proc~~json_file_get_object~~CallsGraph proc~json_file_get_object json_file_get_object proc~json_get_by_path json_get_by_path proc~json_file_get_object->proc~json_get_by_path interface~json_get_child json_get_child proc~json_get_by_path->interface~json_get_child proc~json_clear_exceptions json_clear_exceptions proc~json_get_by_path->proc~json_clear_exceptions interface~throw_exception throw_exception proc~json_get_by_path->interface~throw_exception proc~string_to_integer string_to_integer proc~json_get_by_path->proc~string_to_integer proc~json_value_get_by_index json_value_get_by_index interface~json_get_child->proc~json_value_get_by_index proc~json_value_get_by_name_chars json_value_get_by_name_chars interface~json_get_child->proc~json_value_get_by_name_chars proc~json_throw_exception json_throw_exception interface~throw_exception->proc~json_throw_exception proc~string_to_integer->interface~throw_exception proc~json_value_get_by_index->interface~throw_exception proc~json_value_get_by_name_chars->interface~throw_exception proc~json_count json_count proc~json_value_get_by_name_chars->proc~json_count
Help

Called By

proc~~json_file_get_object~~CalledByGraph proc~json_file_get_object json_file_get_object proc~wrap_json_file_get_object wrap_json_file_get_object proc~wrap_json_file_get_object->proc~json_file_get_object
Help

Source Code

    subroutine json_file_get_object(me, path, p, found)

    implicit none

    class(json_file),intent(inout)       :: me
    character(kind=CK,len=*),intent(in)  :: path   !! the path to the variable
    type(json_value),pointer,intent(out) :: p      !! pointer to the variable
    logical(LK),intent(out),optional     :: found  !! if it was really found

    call json_get_by_path(me%p, path=path, p=p, found=found)

    end subroutine json_file_get_object