Module for the ninth unit test.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=*), | public, | parameter | :: | filename | = | 'big.json' | |
character(len=*), | public, | parameter | :: | dir | = | '../files/inputs/' |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | error_cnt |
Open a random JSON file generated by http://www.json-generator.com
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename | |||
character(len=:), | intent(out), | allocatable | :: | str |
Reads the contents of the file into the allocatable string str. If there are any problems, str will be returned unallocated.