Set the json_core for this json_file.
This does not destroy the data in the file.
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 | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_file), | intent(inout) | :: | me | |||
type(json_core), | intent(in) | :: | core |
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