json_parameters Module

module~~json_parameters~~UsesGraph module~json_parameters json_parameters module~json_kinds json_kinds module~json_kinds->module~json_parameters iso_fortran_env iso_fortran_env iso_fortran_env->module~json_kinds
Help

Other parameters used by JSON-Fortran. This is a low-level module not meant to be used by a JSON-Fortran user.

License

  • JSON-Fortran is released under a BSD-style license. See the LICENSE file for details.

Used By

module~~json_parameters~~UsedByGraph module~json_parameters json_parameters module~json_module json_module module~json_parameters->module~json_module module~json_value_module json_value_module module~json_parameters->module~json_value_module module~json_file_module json_file_module module~json_parameters->module~json_file_module module~json_string_utilities json_string_utilities module~json_parameters->module~json_string_utilities module~jf_test_1_mod jf_test_1_mod module~json_module->module~jf_test_1_mod module~jf_test_15_mod jf_test_15_mod module~json_module->module~jf_test_15_mod module~jf_test_9_mod jf_test_9_mod module~json_module->module~jf_test_9_mod module~jf_test_17_mod jf_test_17_mod module~json_module->module~jf_test_17_mod module~jf_test_7_mod jf_test_7_mod module~json_module->module~jf_test_7_mod module~jf_test_13_mod jf_test_13_mod module~json_module->module~jf_test_13_mod module~jf_test_14_mod jf_test_14_mod module~json_module->module~jf_test_14_mod module~jf_test_4_mod jf_test_4_mod module~json_module->module~jf_test_4_mod module~jf_test_18_mod jf_test_18_mod module~json_module->module~jf_test_18_mod module~jf_test_3_mod jf_test_3_mod module~json_module->module~jf_test_3_mod module~jf_test_11_mod jf_test_11_mod module~json_module->module~jf_test_11_mod module~jf_test_16_mod jf_test_16_mod module~json_module->module~jf_test_16_mod module~jf_test_8_mod jf_test_8_mod module~json_module->module~jf_test_8_mod module~jf_test_19_mod jf_test_19_mod module~json_module->module~jf_test_19_mod module~jf_test_6_mod jf_test_6_mod module~json_module->module~jf_test_6_mod module~jf_test_10_mod jf_test_10_mod module~json_module->module~jf_test_10_mod module~jf_test_12_mod jf_test_12_mod module~json_module->module~jf_test_12_mod module~jf_test_5_mod jf_test_5_mod module~json_module->module~jf_test_5_mod module~jf_test_2_mod jf_test_2_mod module~json_module->module~jf_test_2_mod module~jf_test_20_mod jf_test_20_mod module~json_module->module~jf_test_20_mod module~json_value_module->module~json_module module~json_value_module->module~json_file_module module~json_file_module->module~json_module module~json_string_utilities->module~json_value_module module~json_string_utilities->module~json_file_module program~jf_test_1 jf_test_1 module~jf_test_1_mod->program~jf_test_1 program~jf_test_15 jf_test_15 module~jf_test_15_mod->program~jf_test_15 program~jf_test_9 jf_test_9 module~jf_test_9_mod->program~jf_test_9 program~jf_test_17 jf_test_17 module~jf_test_17_mod->program~jf_test_17 program~jf_test_7 jf_test_7 module~jf_test_7_mod->program~jf_test_7 program~jf_test_13 jf_test_13 module~jf_test_13_mod->program~jf_test_13 program~jf_test_14 jf_test_14 module~jf_test_14_mod->program~jf_test_14 program~jf_test_4 jf_test_4 module~jf_test_4_mod->program~jf_test_4 program~jf_test_18 jf_test_18 module~jf_test_18_mod->program~jf_test_18 program~jf_test_3 jf_test_3 module~jf_test_3_mod->program~jf_test_3 program~jf_test_11 jf_test_11 module~jf_test_11_mod->program~jf_test_11 program~jf_test_16 jf_test_16 module~jf_test_16_mod->program~jf_test_16 program~jf_test_8 jf_test_8 module~jf_test_8_mod->program~jf_test_8 program~jf_test_19 jf_test_19 module~jf_test_19_mod->program~jf_test_19 program~jf_test_6 jf_test_6 module~jf_test_6_mod->program~jf_test_6 program~jf_test_10 jf_test_10 module~jf_test_10_mod->program~jf_test_10 program~jf_test_12 jf_test_12 module~jf_test_12_mod->program~jf_test_12 program~jf_test_5 jf_test_5 module~jf_test_5_mod->program~jf_test_5 program~jf_test_2 jf_test_2 module~jf_test_2_mod->program~jf_test_2 program~jf_test_20 jf_test_20 module~jf_test_20_mod->program~jf_test_20
Help


Variables

TypeVisibility AttributesNameInitial
character(kind=CK,len=*), public, parameter:: backslash =achar(92, kind=CK)
character(kind=CK,len=*), public, parameter:: bspace =achar(8, kind=CK)
character(kind=CK,len=*), public, parameter:: carriage_return =achar(13, kind=CK)
character(kind=CK,len=*), public, parameter:: child =CK_'.'

for json_get_by_path

integer(kind=IK), public, parameter:: chunk_size =100_IK

for allocatable strings: allocate chunks of this size

character(kind=CK,len=*), public, parameter:: colon_char =CK_':'
character(kind=CK,len=*), public, parameter, dimension(32):: control_chars =[(achar(i_, kind=CK), i_=1, 31), achar(127, kind=CK)]

Control characters, possibly in unicode

character(kind=CDK,len=*), public, parameter:: default_real_fmt ='(ss,E26.16E4)'

default real number format statement (for writing real values to strings and files). Note that this can be overridden by calling json_initialize.

character(kind=CK,len=*), public, parameter:: delimiter =CK_','
character(kind=CK,len=*), public, parameter:: end_array =CK_']'
character(kind=CK,len=*), public, parameter:: end_array_alt =CK_')'

for json_get_by_path

character(kind=CK,len=*), public, parameter:: end_object =CK_'}'
character(kind=CK,len=5), protected :: false_str =CK_'false'

JSON logical False string

character(kind=CK,len=*), public, parameter:: formfeed =achar(12, kind=CK)
character(kind=CK,len=*), public, parameter:: horizontal_tab =achar(9, kind=CK)
integer, private :: i_

just a counter for control_chars array

character(kind=CDK,len=*), public, parameter:: int_fmt ='(ss,I0)'

minimum width format for integers

integer(kind=IK), public, parameter:: json_array =3

Array JSON data type (see json_file_variable_info and json_info)

integer(kind=IK), public, parameter:: json_double =6

Double JSON data type (see json_file_variable_info and json_info)

character(kind=CDK,len=*), public, parameter:: json_ext ='.json'

JSON file extension

integer(kind=IK), public, parameter:: json_integer =5

Integer JSON data type (see json_file_variable_info and json_info)

integer(kind=IK), public, parameter:: json_logical =4

Logical JSON data type (see json_file_variable_info and json_info)

integer(kind=IK), public, parameter:: json_null =1

Null JSON data type (see json_file_variable_info and json_info)

integer(kind=IK), public, parameter:: json_object =2

Object JSON data type (see json_file_variable_info and json_info)

integer(kind=IK), public, parameter:: json_string =7

String JSON data type

integer(kind=IK), public, parameter:: json_unknown =0

Unknown JSON data type (see json_file_variable_info and json_info)

character(kind=CK,len=26), protected :: lower =CK_'abcdefghijklmnopqrstuvwxyz'

lowercase characters

integer(kind=IK), public, parameter:: max_integer_str_len =256

maximum string length of an integer. This is totally arbitrary (any way to get the compiler to tell us this?)

integer(kind=IK), public, parameter:: max_numeric_str_len =real_precision+real_exponent_digits+6

6 = sign + leading 0 + decimal + 'E' + exponent sign + 1 extra

integer(kind=IK), public, parameter:: maxexp =maxexponent(1.0_RK)
integer(kind=IK), public, parameter:: minexp =minexponent(1.0_RK)
character(kind=CK,len=*), public, parameter:: newline =achar(10, kind=CK)
character(kind=CK,len=4), protected :: null_str =CK_'null'

JSON Null variable string

integer(kind=IK), public, parameter:: pushed_char_size =10_IK

size for pushed_char array in json_core

character(kind=CK,len=*), public, parameter:: quotation_mark =achar(34, kind=CK)
integer(kind=IK), public, parameter:: real_exponent_digits =floor(1+log10(real(max(maxexp, abs(maxexp)), kind=RK)))
integer(kind=IK), public, parameter:: real_precision =rp_safety_factor*precision(1.0_RK)+rp_addl_safety
character(kind=CK,len=*), public, parameter:: root =CK_'$'

for json_get_by_path

integer(kind=IK), public, parameter:: rp_addl_safety =1_IK
integer(kind=IK), public, parameter:: rp_safety_factor =1_IK
integer(kind=IK), public, parameter:: seq_chunk_size =256_IK

chunk size for reading sequential files

character(kind=CK,len=*), public, parameter:: slash =achar(47, kind=CK)
character(kind=CK,len=*), public, parameter:: space =CK_' '
character(kind=CK,len=*), public, parameter:: star =CK_'*'

for invalid numbers and list-directed real output

character(kind=CK,len=*), public, parameter:: start_array =CK_'['
character(kind=CK,len=*), public, parameter:: start_array_alt =CK_'('

for json_get_by_path

character(kind=CK,len=*), public, parameter:: start_object =CK_'{'
character(kind=CK,len=*), public, parameter:: this =CK_'@'

for json_get_by_path

character(kind=CK,len=4), protected :: true_str =CK_'true'

JSON logical True string

integer(kind=IK), public, parameter:: unit2str =-1_IK

unit number to cause stuff to be output to strings rather than files. See 9.5.6.12 in the F2003/08 standard

character(kind=CK,len=26), protected :: upper =CK_'ABCDEFGHIJKLMNOPQRSTUVWXYZ'

uppercase characters