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%set_json_core_in_file none~initialize json_file%initialize none~initialize->proc~set_json_core_in_file proc~initialize_json_file initialize_json_file proc~initialize_json_file->none~initialize proc~initialize_json_file_from_string initialize_json_file_from_string proc~initialize_json_file_from_string->none~initialize proc~json_file_move_pointer json_file%json_file_move_pointer proc~json_file_move_pointer->none~initialize interface~json_file 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 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