jf_test_9_mod Module

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.