Skip to content

Commit 2f5a112

Browse files
committed
updated typo in readme example and new real formatting.
1 parent 267227d commit 2f5a112

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ of ```json_value``` pointers. See the json_example.f90 file for more examples.
155155
call json_initialize()
156156
157157
! initialize the structure:
158-
call json_create_object(p)
158+
call json_create_object(p,'')
159159
160160
! add an "inputs" object to the structure:
161161
call json_create_object(inp,'inputs')
@@ -186,9 +186,9 @@ The code above produces the file:
186186
```Python
187187
{
188188
"inputs": {
189-
"t0": 0.1000000000000000E+000,
190-
"tf": 0.1100000000000000E+001,
191-
"x0": 0.9999000000000000E+004,
189+
"t0": 0.1E+0,
190+
"tf": 0.11E+1,
191+
"x0": 0.9999E+4,
192192
"integer_scalar": 787,
193193
"integer_array": [
194194
2,

0 commit comments

Comments
 (0)