from_json Subroutine

public impure elemental subroutine from_json(self, json_str, path)

Read all the critical properties from a json file.

Type Bound

CriticalConstants

Arguments

Type IntentOptional Attributes Name
class(CriticalConstants), intent(inout) :: self
character(len=*), intent(in) :: json_str
character(len=*), intent(in), optional :: path

Calls

proc~~from_json~2~~CallsGraph proc~from_json~2 CriticalConstants%from_json proc~scalar_from_json ScalarProperty%scalar_from_json proc~from_json~2->proc~scalar_from_json get get proc~scalar_from_json->get initialize initialize proc~scalar_from_json->initialize load_file load_file proc~scalar_from_json->load_file proc~open_json open_json proc~scalar_from_json->proc~open_json proc~open_json->initialize proc~open_json->load_file failed failed proc~open_json->failed

Called by

proc~~from_json~2~~CalledByGraph proc~from_json~2 CriticalConstants%from_json proc~init_json init_json proc~init_json->proc~from_json~2 interface~substance Substance interface~substance->proc~init_json