jf_test_9_mod Module

module~~jf_test_9_mod~~UsesGraph module~jf_test_9_mod jf_test_9_mod module~json_module json_module module~json_module->module~jf_test_9_mod iso_fortran_env iso_fortran_env iso_fortran_env->module~jf_test_9_mod iso_fortran_env->module~json_module
Help

Module for the ninth unit test.

Used By

module~~jf_test_9_mod~~UsedByGraph module~jf_test_9_mod jf_test_9_mod program~jf_test_9 jf_test_9 module~jf_test_9_mod->program~jf_test_9
Help

Variables

TypeVisibility AttributesNameInitial
character(len=*), public, parameter:: filename ='big.json'
character(len=*), public, parameter:: dir ='../files/inputs/'

Subroutines

public subroutine test_9(error_cnt)

Arguments

Type IntentOptional AttributesName
integer, intent(out) :: error_cnt

Description

Open a random JSON file generated by http://www.json-generator.com

public subroutine read_file(filename, str)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: filename
character(len=:), intent(out), allocatable:: str

Description

Reads the contents of the file into the allocatable string str. If there are any problems, str will be returned unallocated.