test_4 Subroutine

public subroutine test_4(error_cnt)

Arguments

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

Description

Populate a JSON structure, write it to a file, then read it.

Also tests the json_value_to_string routine to write the file to a character string.


Variables

TypeVisibility AttributesNameInitial
type(json_value), public, pointer:: p
type(json_value), public, pointer:: inp
type(json_file), public :: json
type(json_core), public :: core

factory for manipulating json_value pointers

integer, public :: i
character(kind=json_CK,len=10), public :: istr
character(kind=json_CK,len=:), public, allocatable:: string