Skip to content

Commit 5e37cbc

Browse files
committed
updated readme
1 parent 861be10 commit 5e37cbc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A Fortran 2003/2008 JSON API
66
Brief Description
77
---------------
88

9-
A mostly-complete API for reading and writing JSON files, written in modern Fortran. The code requires a Fortran compiler that supports various Fortran 2003 and Fortran 2008 features such as: allocatable strings, associate, newunit, generic, class, and abstract interface. I am using the Intel Fortran compiler 13.1.0 on Linux (the Mac and PC versions should also work fine). It does not currently compile with the gnu gfortran compiler.
9+
A mostly-complete API for reading and writing JSON files, written in modern Fortran. The code requires a Fortran compiler that supports various Fortran 2003 and Fortran 2008 features such as: allocatable strings, associate, newunit, generic, class, and abstract interface. I am using the Intel Fortran compiler 13.1.0 on Linux (the Mac and PC versions should also work fine). It does not currently compile with the gnu gfortran compiler. The source code is a single Fortran module file (json_module.f90).
1010

1111
Reading a JSON file
1212
---------------

src/json_module.f90

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,13 +2031,13 @@ subroutine write_it(s,advance,comma)
20312031

20322032
if (write_file) then
20332033

2034-
if (add_line_break) then
2034+
if (add_line_break) then
20352035
write(iunit,fmt='(A)') s2
2036-
else
2036+
else
20372037
write(iunit,fmt='(A)',advance='NO') s2
2038-
end if
2039-
2040-
else !write string
2038+
end if
2039+
2040+
else !write string
20412041

20422042
str = str // s2
20432043
if (add_line_break) str = str // newline

0 commit comments

Comments
 (0)