Procedures

ProcedureLocationProcedure TypeDescription
add_variables_to_inputjf_test_2_modSubroutine
escape_stringjson_string_utilitiesSubroutine
integer_to_stringjson_string_utilitiesSubroutine
json_corejson_value_moduleInterface
json_filejson_file_moduleInterface
lowercase_stringjson_string_utilitiesFunction
read_filejf_test_9_modSubroutine

Reads the contents of the file into the allocatable string str. If there are any problems, str will be returned unallocated.

real_to_stringjson_string_utilitiesSubroutine
renamejf_test_14_modSubroutine

change all "name" variable values to "Fred"

test_1jf_test_1_modSubroutine

Read a sample JSON file and retrieve some data from it

test_10jf_test_10_modSubroutine

Test some of the lesser-used features of the library

test_11jf_test_11_modSubroutine

Read the file and extract some data from it.

test_12jf_test_12_modSubroutine
test_13jf_test_13_modSubroutine

Tests different real format strings using repeated calls to [[json_initialize]].

test_14jf_test_14_modSubroutine

Tests the traversal of a JSON structure

test_15jf_test_15_modSubroutine

Test some of the edge cases, and incorrect usages.

test_16jf_test_16_modSubroutine

Test the swap function.

test_17jf_test_17_modSubroutine

Test the rename function.

test_18jf_test_18_modSubroutine

Test the name matching options.

test_2jf_test_2_modSubroutine

Populate a JSON structure and write it to a file.

test_3jf_test_3_modSubroutine

Read the file generated in test_2, and extract some data from it.

test_4jf_test_4_modSubroutine

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

test_5jf_test_5_modSubroutine

Github issue example: https://github.com/josephalevin/fson/issues/12

test_6jf_test_6_modSubroutine

This example tries to read an invalid JSON file.

test_7jf_test_7_modSubroutine

Indent test

test_8jf_test_8_modSubroutine

read a JSON structure from a string

test_9jf_test_9_modSubroutine

Open a random JSON file generated by http://www.json-generator.com

to_unicodejson_string_utilitiesInterface
unescape_stringjson_string_utilitiesSubroutine
valid_json_hexjson_string_utilitiesFunction