Procedure | Location | Procedure Type | Description |
---|---|---|---|
annotate_invalid_json | json_value_module | Subroutine | Generate a warning message if there was an error parsing a JSON file or string. |
compact_real_string | json_string_utilities | Subroutine | Compact a string representing a real number, so that the same value is displayed with fewer characters. |
decode_rfc6901 | json_string_utilities | Function | Decode a string from the "JSON Pointer" RFC 6901 format. |
default_comp_ucs4 | json_string_utilities | Function |
|
default_join_ucs4 | json_string_utilities | Function |
|
default_neq_ucs4 | json_string_utilities | Function |
|
destroy_json_core | json_value_module | Subroutine | Destructor for the json_core type. |
destroy_json_data | json_value_module | Subroutine | Destroy the data within a json_value, and reset type to |
encode_rfc6901 | json_string_utilities | Function | Encode a string into the "JSON Pointer" RFC 6901 format. |
escape_string | json_string_utilities | Subroutine | Add the escape characters to a string for adding to JSON. |
get_current_line_from_file_sequential | json_value_module | Subroutine | Rewind the file to the beginning of the current line, and return this line. The file is assumed to be opened. This is the SEQUENTIAL version (see also get_current_line_from_file_stream). |
get_current_line_from_file_stream | json_value_module | Subroutine | Rewind the file to the beginning of the current line, and return this line. The file is assumed to be opened. This is the STREAM version (see also get_current_line_from_file_sequential). |
get_json_core_in_file | json_file_module | Subroutine | |
initialize_json_core | json_value_module | Function | Function constructor for a json_core. This is just a wrapper for json_initialize. |
initialize_json_core_in_file | json_file_module | Subroutine | Initialize the json_core for this json_file. This is just a wrapper for json_initialize. |
initialize_json_file | json_file_module | Function | Cast a json_value object as a json_file object.
It also calls the |
initialize_json_file_v2 | json_file_module | Function | Cast a json_value pointer and a json_core object as a json_file object. |
integer_to_string | json_string_utilities | Subroutine | Convert an integer to a string. |
json_check_for_errors | json_value_module | Subroutine | Retrieve error code from the json_core.
This should be called after |
json_clear_exceptions | json_value_module | Subroutine | Clear exceptions in the json_core. |
json_clone | json_value_module | Subroutine | Create a deep copy of a json_value linked-list structure. |
json_core | json_value_module | Interface | Structure constructor to initialize a json_core object |
json_count | json_value_module | Function | Count the number of children. |
json_failed | json_value_module | Function | Logical function to indicate if an exception has been thrown in a json_core. |
json_file | json_file_module | Interface | Structure constructor to initialize a json_file object with an existing json_value object, and either the json_core settings or a json_core instance. |
json_file_check_for_errors | json_file_module | Subroutine | Retrieve error status and message from the class. |
json_file_clear_exceptions | json_file_module | Subroutine | Clear exceptions in the class. |
json_file_destroy | json_file_module | Subroutine | Destroy the json_value data in a json_file. This must be done when the variable is no longer needed, or will be reused to open a different file. Otherwise a memory leak will occur. |
json_file_failed | json_file_module | Function | Check error status in the file. |
json_file_get_double | json_file_module | Subroutine | Get a real(RK) variable value from a JSON file. |
json_file_get_double_vec | json_file_module | Subroutine | Get a real(RK) vector from a JSON file. |
json_file_get_integer | json_file_module | Subroutine | Get an integer value from a JSON file. |
json_file_get_integer_vec | json_file_module | Subroutine | Get an integer vector from a JSON file. |
json_file_get_logical | json_file_module | Subroutine | Get a logical(LK) value from a JSON file. |
json_file_get_logical_vec | json_file_module | Subroutine | Get a logical(LK) vector from a JSON file. |
json_file_get_object | json_file_module | Subroutine | Get a json_value pointer to an object from a JSON file. |
json_file_get_root | json_file_module | Subroutine | Get a json_value pointer to the JSON file root. |
json_file_get_string | json_file_module | Subroutine | Get a character string from a json file. The output val is an allocatable character string. |
json_file_get_string_vec | json_file_module | Subroutine | Get a string vector from a JSON file. |
json_file_load | json_file_module | Subroutine | Load the JSON data from a file. |
json_file_load_from_string | json_file_module | Subroutine | Load the JSON data from a string. |
json_file_move_pointer | json_file_module | Subroutine | Move the json_value pointer from one json_file to another. The "from" pointer is then nullified, but not destroyed. |
json_file_print_1 | json_file_module | Subroutine | Prints the JSON file to the specified file unit number. |
json_file_print_2 | json_file_module | Subroutine | Print the JSON structure to the specified filename. The file is opened, printed, and then closed. |
json_file_print_error_message | json_file_module | Subroutine | This is a wrapper for json_print_error_message. |
json_file_print_to_console | json_file_module | Subroutine | Print the JSON file to the console. |
json_file_print_to_string | json_file_module | Subroutine | Print the JSON file to a string. |
json_file_traverse | json_file_module | Subroutine | Traverse the JSON structure in the file. This routine calls the user-specified json_traverse_callback_func for each element of the structure. |
json_file_update_integer | json_file_module | Subroutine | Given the path string, if the variable is present in the file, and is a scalar, then update its value. If it is not present, then create it and set its value. |
json_file_update_logical | json_file_module | Subroutine | Given the path string, if the variable is present in the file, and is a scalar, then update its value. If it is not present, then create it and set its value. |
json_file_update_real | json_file_module | Subroutine | Given the path string, if the variable is present in the file, and is a scalar, then update its value. If it is not present, then create it and set its value. |
json_file_update_string | json_file_module | Subroutine | Given the path string, if the variable is present in the file, and is a scalar, then update its value. If it is not present, then create it and set its value. |
json_file_update_string_name_ascii | json_file_module | Subroutine | Alternate version of json_file_update_string, where "name" is kind=CDK. |
json_file_update_string_val_ascii | json_file_module | Subroutine | Alternate version of json_file_update_string, where "val" is kind=CDK. |
json_file_variable_info | json_file_module | Subroutine | Returns information about a variable in a json_file. |
json_file_variable_matrix_info | json_file_module | Subroutine | Returns matrix information about a variable in a json_file. |
json_get_array | json_value_module | Subroutine | This routine calls the user-supplied json_array_callback_func subroutine for each element in the array. |
json_get_array_with_path | json_value_module | Subroutine | This routine calls the user-supplied array_callback subroutine for each element in the array (specified by the path). |
json_get_by_path | json_value_module | Subroutine | Returns the json_value pointer given the path string. |
json_get_by_path_default | json_value_module | Subroutine | Returns the json_value pointer given the path string. |
json_get_by_path_rfc6901 | json_value_module | Subroutine | Returns the json_value pointer given the path string, using the "JSON Pointer" path specification defined by RFC 6901. |
json_get_double | json_value_module | Subroutine | Get a double value from a json_value. |
json_get_double_vec | json_value_module | Subroutine | Get a double vector from a json_value. |
json_get_double_vec_with_path | json_value_module | Subroutine | Get a double vector from a json_value, given the path. |
json_get_double_with_path | json_value_module | Subroutine | Get a double value from a json_value, given the path. |
json_get_integer | json_value_module | Subroutine | Get an integer value from a json_value. |
json_get_integer_vec | json_value_module | Subroutine | Get an integer vector from a json_value. |
json_get_integer_vec_with_path | json_value_module | Subroutine | Get an integer vector from a json_value, given the path string. |
json_get_integer_with_path | json_value_module | Subroutine | Get an integer value from a json_value, given the path string. |
json_get_logical | json_value_module | Subroutine | Get a logical value from a json_value. |
json_get_logical_vec | json_value_module | Subroutine | Get a logical vector from json_value. |
json_get_logical_vec_with_path | json_value_module | Subroutine | Get a logical vector from a json_value, given the path. |
json_get_logical_with_path | json_value_module | Subroutine | Get a logical value from a json_value, given the path. |
json_get_next | json_value_module | Subroutine | Returns a pointer to the next of a json_value. If there is no next, then a null() pointer is returned. |
json_get_parent | json_value_module | Subroutine | Returns a pointer to the parent of a json_value. If there is no parent, then a null() pointer is returned. |
json_get_path | json_value_module | Subroutine | Returns the path to a JSON object that is part of a linked list structure. |
json_get_previous | json_value_module | Subroutine | Returns a pointer to the previous of a json_value. If there is no previous, then a null() pointer is returned. |
json_get_string | json_value_module | Subroutine | Get a character string from a json_value. |
json_get_string_vec | json_value_module | Subroutine | Get a string vector from a json_value. |
json_get_string_vec_with_path | json_value_module | Subroutine | Get a string vector from a json_value, given the path. |
json_get_string_with_path | json_value_module | Subroutine | Get a character string from a json_value, given the path. |
json_get_tail | json_value_module | Subroutine | Returns a pointer to the tail of a json_value (the last child of an array of object). If there is no tail, then a null() pointer is returned. |
json_info | json_value_module | Subroutine | Returns information about a json_value. |
json_info_by_path | json_value_module | Subroutine | |
json_initialize | json_value_module | Subroutine | Initialize the json_core instance. |
json_matrix_info | json_value_module | Subroutine | Alternate version of json_info that returns matrix information about a json_value. |
json_matrix_info_by_path | json_value_module | Subroutine | Returns matrix information about a json_value, given the path. |
json_parse_file | json_value_module | Subroutine | Parse the JSON file and populate the json_value tree. |
json_parse_string | json_value_module | Subroutine | Parse the JSON string and populate the json_value tree. |
json_print_1 | json_value_module | Subroutine | Print the json_value structure to a file. |
json_print_2 | json_value_module | Subroutine | Print the json_value structure to a file. |
json_print_error_message | json_value_module | Subroutine | Print any error message, and then clear the exceptions. |
json_throw_exception | json_value_module | Subroutine | Throw an exception in the json_core. This routine sets the error flag, and prevents any subsequent routine from doing anything, until json_clear_exceptions is called. |
json_traverse | json_value_module | Subroutine | Traverse a JSON structure. This routine calls the user-specified json_traverse_callback_func for each element of the structure. |
json_update_double | json_value_module | Subroutine | Given the path string, if the variable is present, and is a scalar, then update its value. If it is not present, then create it and set its value. |
json_update_integer | json_value_module | Subroutine | Given the path string, if the variable is present, and is a scalar, then update its value. If it is not present, then create it and set its value. |
json_update_logical | json_value_module | Subroutine | Given the path string, if the variable is present, and is a scalar, then update its value. If it is not present, then create it and set its value. |
json_update_string | json_value_module | Subroutine | Given the path string, if the variable is present, and is a scalar, then update its value. If it is not present, then create it and set its value. |
json_update_string_name_ascii | json_value_module | Subroutine | Alternate version of json_update_string, where |
json_update_string_val_ascii | json_value_module | Subroutine | Alternate version of json_update_string, where |
json_value_add_double | json_value_module | Subroutine | Add a real value child to the json_value variable |
json_value_add_double_vec | json_value_module | Subroutine | Add a real vector to the structure. |
json_value_add_integer | json_value_module | Subroutine | Add an integer value child to the json_value variable |
json_value_add_integer_vec | json_value_module | Subroutine | Add an integer vector to the structure. |
json_value_add_logical | json_value_module | Subroutine | Add a logical value child to the json_value variable |
json_value_add_logical_vec | json_value_module | Subroutine | Add a logical vector to the structure. |
json_value_add_member | json_value_module | Subroutine | Adds |
json_value_add_null | json_value_module | Subroutine | Add a NULL value child to the json_value variable |
json_value_add_string | json_value_module | Subroutine | Add a character string child to the json_value variable. |
json_value_add_string_name_ascii | json_value_module | Subroutine | Alternate version of json_value_add_string where |
json_value_add_string_val_ascii | json_value_module | Subroutine | Alternate version of json_value_add_string where |
json_value_add_string_vec | json_value_module | Subroutine | Add an array of character strings to the structure. |
json_value_add_string_vec_name_ascii | json_value_module | Subroutine | Alternate version of json_value_add_string_vec where |
json_value_add_string_vec_val_ascii | json_value_module | Subroutine | Alternate version of json_value_add_string_vec where |
json_value_clone_func | json_value_module | Subroutine | Recursive deep copy function called by json_clone. |
json_value_create | json_value_module | Subroutine | Allocate a json_value pointer variable. This should be called before adding data to it. |
json_value_create_array | json_value_module | Subroutine | Allocate a json_value pointer and make it an array variable. The pointer should not already be allocated. |
json_value_create_double | json_value_module | Subroutine | Allocate a json_value pointer and make it a real(RK) variable. The pointer should not already be allocated. |
json_value_create_integer | json_value_module | Subroutine | Allocate a json_value pointer and make it an integer(IK) variable. The pointer should not already be allocated. |
json_value_create_logical | json_value_module | Subroutine | Allocate a json_value pointer and make it a logical(LK) variable. The pointer should not already be allocated. |
json_value_create_null | json_value_module | Subroutine | Allocate a json_value pointer and make it a null variable. The pointer should not already be allocated. |
json_value_create_object | json_value_module | Subroutine | Allocate a json_value pointer and make it an object variable. The pointer should not already be allocated. |
json_value_create_string | json_value_module | Subroutine | Allocate a json_value pointer and make it a string variable. The pointer should not already be allocated. |
json_value_destroy | json_value_module | Subroutine | Destroy a json_value linked-list structure. |
json_value_get_by_index | json_value_module | Subroutine | Returns a child in the object or array given the index. |
json_value_get_by_name_chars | json_value_module | Subroutine | Returns a child in the object or array given the name string. |
json_value_get_child | json_value_module | Subroutine | Returns pointer to the first child of the object (or null() if it is not associated). |
json_value_insert_after | json_value_module | Subroutine | Inserts |
json_value_insert_after_child_by_index | json_value_module | Subroutine | Inserts |
json_value_is_child_of | json_value_module | Function | Returns True if |
json_value_print | json_value_module | Subroutine | Print the JSON structure to a string or a file. |
json_value_remove | json_value_module | Subroutine | Remove a json_value (and all its children) from a linked-list structure, preserving the rest of the structure. |
json_value_remove_if_present | json_value_module | Subroutine | Given the path string, remove the variable from the json_value structure, if it exists. |
json_value_rename | json_value_module | Subroutine | Rename a json_value. |
json_value_swap | json_value_module | Subroutine | Swap two elements in a JSON structure. All of the children are carried along as well. |
json_value_to_string | json_value_module | Subroutine | Print the json_value structure to an allocatable string. |
json_value_validate | json_value_module | Subroutine | Validate a json_value linked list by checking to make sure all the pointers are properly associated, arrays and objects have the correct number of children, and the correct data is allocated for the variable types. |
lowercase_character | json_string_utilities | Function | Return the lowercase version of the |
lowercase_string | json_string_utilities | Function | Returns lowercase version of the |
name_equal | json_value_module | Function | Returns true if |
parse_array | json_value_module | Subroutine | Core parsing routine. |
parse_for_chars | json_value_module | Subroutine | Core parsing routine. |
parse_number | json_value_module | Subroutine | Read a numerical value from the file (or string). The routine will determine if it is an integer or a double, and allocate the type accordingly. |
parse_object | json_value_module | Subroutine | Core parsing routine. |
parse_string | json_value_module | Subroutine | Parses a string while reading a JSON file. |
parse_value | json_value_module | Subroutine | Core parsing routine. |
pop_char | json_value_module | Subroutine | Get the next character from the file (or string). |
push_char | json_value_module | Subroutine | Core routine. |
real_to_string | json_string_utilities | Subroutine | Convert a real value to a string. |
replace_string | json_string_utilities | Subroutine | Replace all occurances of |
set_json_core_in_file | json_file_module | Subroutine | |
string_to_dble | json_value_module | Function | Convert a string into a double. |
string_to_int | json_value_module | Function | Convert a string into an integer. |
string_to_integer | json_string_utilities | Subroutine | Convert a string into an integer. |
string_to_real | json_string_utilities | Subroutine | Convert a string into a |
to_array | json_value_module | Subroutine | Change the json_value variable to an array. |
to_double | json_value_module | Subroutine | Change the json_value variable to a double. |
to_integer | json_value_module | Subroutine | Change the json_value variable to an integer. |
to_logical | json_value_module | Subroutine | Change the json_value variable to a logical. |
to_null | json_value_module | Subroutine | Change the json_value variable to a null. |
to_object | json_value_module | Subroutine | Change the json_value variable to an object. |
to_string | json_value_module | Subroutine | Change the json_value variable to a string. |
to_uni | json_string_utilities | Function | Convert string to unicode (CDK to CK). |
to_uni_vec | json_string_utilities | Function | Convert array of strings to unicode (CDK to CK). |
to_unicode | json_string_utilities | Interface | Convert a 'DEFAULT' kind character input to 'ISO_10646' kind and return it |
ucs4_comp_default | json_string_utilities | Function |
|
ucs4_join_default | json_string_utilities | Function |
|
ucs4_neq_default | json_string_utilities | Function |
|
unescape_string | json_string_utilities | Subroutine | Remove the escape characters from a JSON string and return it. |
valid_json_hex | json_string_utilities | Function | Returns true if the string is a valid 4-digit hex string. |
wrap_json_file_get_double | json_file_module | Subroutine | Alternate version of json_file_get_double, where "path" is kind=CDK. |
wrap_json_file_get_double_vec | json_file_module | Subroutine | Alternate version of json_file_get_double_vec, where "path" is kind=CDK. |
wrap_json_file_get_integer | json_file_module | Subroutine | Alternate version of json_file_get_integer, where "path" is kind=CDK. |
wrap_json_file_get_integer_vec | json_file_module | Subroutine | Alternate version of json_file_get_integer_vec, where "path" is kind=CDK. |
wrap_json_file_get_logical | json_file_module | Subroutine | Alternate version of json_file_get_logical, where "path" is kind=CDK. |
wrap_json_file_get_logical_vec | json_file_module | Subroutine | Alternate version of json_file_get_logical_vec, where "path" is kind=CDK. |
wrap_json_file_get_object | json_file_module | Subroutine | Alternate version of json_file_get_object, where "path" is kind=CDK. |
wrap_json_file_get_string | json_file_module | Subroutine | Alternate version of json_file_get_string, where "path" is kind=CDK. |
wrap_json_file_get_string_vec | json_file_module | Subroutine | Alternate version of json_file_get_string_vec, where "path" is kind=CDK. |
wrap_json_file_load_from_string | json_file_module | Subroutine | Alternate version of json_file_load_from_string, where "str" is kind=CDK. |
wrap_json_file_update_integer | json_file_module | Subroutine | Alternate version of json_file_update_integer, where "name" is kind=CDK. |
wrap_json_file_update_logical | json_file_module | Subroutine | Alternate version of json_file_update_logical, where "name" is kind=CDK. |
wrap_json_file_update_real | json_file_module | Subroutine | Alternate version of json_file_update_real, where "name" is kind=CDK. |
wrap_json_file_update_string | json_file_module | Subroutine | Alternate version of json_file_update_string, where "name" and "val" are kind=CDK. |
wrap_json_file_variable_info | json_file_module | Subroutine | Alternate version of json_file_variable_info, where "path" is kind=CDK. |
wrap_json_file_variable_matrix_info | json_file_module | Subroutine | Alternate version of json_file_variable_matrix_info, where "path" is kind=CDK. |
wrap_json_get_array_with_path | json_value_module | Subroutine | Alternate version of json_get_array_with_path, where "path" is kind=CDK |
wrap_json_get_by_path | json_value_module | Subroutine | Alternate version of json_get_by_path where "path" is kind=CDK. |
wrap_json_get_double_vec_with_path | json_value_module | Subroutine | Alternate version of json_get_double_vec_with_path, where "path" is kind=CDK |
wrap_json_get_double_with_path | json_value_module | Subroutine | Alternate version of json_get_double_with_path, where "path" is kind=CDK |
wrap_json_get_integer_vec_with_path | json_value_module | Subroutine | Alternate version of json_get_integer_vec_with_path, where "path" is kind=CDK |
wrap_json_get_integer_with_path | json_value_module | Subroutine | Alternate version of json_get_integer_with_path, where "path" is kind=CDK. |
wrap_json_get_logical_vec_with_path | json_value_module | Subroutine | Alternate version of json_get_logical_vec_with_path, where "path" is kind=CDK |
wrap_json_get_logical_with_path | json_value_module | Subroutine | Alternate version of json_get_logical_with_path, where "path" is kind=CDK |
wrap_json_get_path | json_value_module | Subroutine | Wrapper for json_get_path where "path" and "path_sep" are kind=CDK. |
wrap_json_get_string_vec_with_path | json_value_module | Subroutine | Alternate version of json_get_string_vec_with_path, where "path" is kind=CDK |
wrap_json_get_string_with_path | json_value_module | Subroutine | Alternate version of json_get_string_with_path, where "path" is kind=CDK |
wrap_json_info_by_path | json_value_module | Subroutine | Alternate version of json_info_by_path where "path" is kind=CDK. |
wrap_json_matrix_info_by_path | json_value_module | Subroutine | Alternate version of json_matrix_info_by_path where "path" is kind=CDK. |
wrap_json_parse_string | json_value_module | Subroutine | Alternate version of json_parse_string, where |
wrap_json_throw_exception | json_value_module | Subroutine | Alternate version of json_throw_exception, where |
wrap_json_update_double | json_value_module | Subroutine | Alternate version of json_update_double, where |
wrap_json_update_integer | json_value_module | Subroutine | Alternate version of json_update_integer, where |
wrap_json_update_logical | json_value_module | Subroutine | Alternate version of json_update_logical, where |
wrap_json_update_string | json_value_module | Subroutine | Alternate version of json_update_string, where |
wrap_json_value_add_double | json_value_module | Subroutine | Alternate version of json_value_add_double where |
wrap_json_value_add_double_vec | json_value_module | Subroutine | Alternate version of json_value_add_double_vec where |
wrap_json_value_add_integer | json_value_module | Subroutine | Alternate version of json_value_add_integer where |
wrap_json_value_add_integer_vec | json_value_module | Subroutine | Alternate version of json_value_add_integer_vec where |
wrap_json_value_add_logical | json_value_module | Subroutine | Alternate version of json_value_add_logical where |
wrap_json_value_add_logical_vec | json_value_module | Subroutine | Alternate version of json_value_add_logical_vec where |
wrap_json_value_add_null | json_value_module | Subroutine | Alternate version of json_value_add_null where |
wrap_json_value_add_string | json_value_module | Subroutine | Alternate version of json_value_add_string where |
wrap_json_value_add_string_vec | json_value_module | Subroutine | Alternate version of json_value_add_string_vec where |
wrap_json_value_create_array | json_value_module | Subroutine | A wrapper for json_value_create_array so that |
wrap_json_value_create_double | json_value_module | Subroutine | A wrapper for json_value_create_double so that |
wrap_json_value_create_integer | json_value_module | Subroutine | A wrapper procedure for json_value_create_integer so that |
wrap_json_value_create_logical | json_value_module | Subroutine | Wrapper for json_value_create_logical so |
wrap_json_value_create_null | json_value_module | Subroutine | Wrap json_value_create_null so that |
wrap_json_value_create_object | json_value_module | Subroutine | Wrap json_value_create_object so that |
wrap_json_value_create_string | json_value_module | Subroutine | Wrap json_value_create_string so that |
wrap_json_value_get_by_name_chars | json_value_module | Subroutine | Alternate version of json_value_get_by_name_chars where |
wrap_json_value_remove_if_present | json_value_module | Subroutine | Alternate version of json_value_remove_if_present, where |
wrap_json_value_rename | json_value_module | Subroutine | Alternate version of json_value_rename, where |