set_json_core_in_file Subroutine

private subroutine set_json_core_in_file(me, core)

Set the json_core for this json_file.

Note

This does not destroy the data in the file.

Note

This one is used if you want to initialize the file with an already-existing json_core (presumably, this was already initialized by a call to initialize_json_core or similar).

Type Bound

json_file

Arguments

Type IntentOptional Attributes Name
class(json_file), intent(inout) :: me
type(json_core), intent(in) :: core

Called by

proc~~set_json_core_in_file~~CalledByGraph proc~set_json_core_in_file json_file_module::json_file%set_json_core_in_file none~initialize~2 json_file_module::json_file%initialize none~initialize~2->proc~set_json_core_in_file proc~initialize_json_file json_file_module::initialize_json_file proc~initialize_json_file->none~initialize~2 proc~initialize_json_file_from_string json_file_module::initialize_json_file_from_string proc~initialize_json_file_from_string->none~initialize~2 proc~json_file_move_pointer json_file_module::json_file%json_file_move_pointer proc~json_file_move_pointer->none~initialize~2 interface~json_file json_file_module::json_file interface~json_file->proc~initialize_json_file interface~json_file->proc~initialize_json_file_from_string proc~wrap_initialize_json_file_from_string json_file_module::wrap_initialize_json_file_from_string interface~json_file->proc~wrap_initialize_json_file_from_string proc~wrap_initialize_json_file_from_string->proc~initialize_json_file_from_string

Source Code

    subroutine set_json_core_in_file(me,core)

    implicit none

    class(json_file),intent(inout) :: me
    type(json_core),intent(in)     :: core

    me%core = core

    end subroutine set_json_core_in_file