Globals Library 1.0
Loading...
Searching...
No Matches
modJsonData.f90 File Reference

Go to the source code of this file.

Data Types

type  jsondata::json_type
 Derived data type to handle JSON data. More...

Modules

module  jsondata

Functions/Subroutines

subroutine jsondata::init_core (this)
 Static constructor for internal JSON core settings.
subroutine jsondata::throw_error (this)
 Checks for parsing/runtime errors and raises Fortran exception.
subroutine jsondata::init_empty (this)
 Initialize the object as an empty JSON file/database.
subroutine jsondata::init_string (this, str)
 Initialize the object from a JSON string payload.
subroutine jsondata::kill_json_type (this)
 Destroys the JSON object and deallocates internal variables.
subroutine jsondata::finalize_json_type (this)
 Finalization routine triggered implicitly when object goes out of scope or is destroyed.
subroutine jsondata::write_to_console (this)
 Print the JSON object representation to standard output.
subroutine jsondata::write_to_unit (this, iunit)
 Print the JSON object representation to a specific formatted Fortran unit.
subroutine jsondata::write_to_file (this, filename)
 Save the JSON object representation directly to a file.
subroutine jsondata::load_file_name (this, filename)
 Construct a JSON structure from a JSON file path.
logical function jsondata::check_path_is_valid (this, path)
 Verify if a specific path exists within the JSON tree.
subroutine jsondata::rename_path (this, path, new_name)
 Rename a node located at the specified path.
subroutine jsondata::remove_path (this, path)
 Remove a node located at the specified path entirely.
subroutine jsondata::set_object (this, path, value)
 Append a deeply copied instance of another JSON object at path.
subroutine jsondata::set_logical (this, path, value)
 Setup a logical boolean value inside the JSON tree.
subroutine jsondata::set_integer (this, path, value)
 Setup an integer value inside the JSON tree.
subroutine jsondata::set_real (this, path, value)
 Setup a float literal (double precision) value into JSON tree.
subroutine jsondata::set_string (this, path, value)
 Setup a JSON string scalar property.
subroutine jsondata::set_vec_logical (this, path, value)
 Adds an array dimension of logic variables linearly.
subroutine jsondata::set_vec_integer (this, path, value)
 Adds an array block size containing integers to current root.
subroutine jsondata::set_vec_real (this, path, value)
 Adds an array literal values consisting of double precisions.
subroutine jsondata::get_object (this, path, value)
 Parses a subtree and clones its content into an alternative object variable.
subroutine jsondata::get_integer (this, path, value, default)
 Retrive integer primitive from loaded property tree.
subroutine jsondata::get_real (this, path, value, default)
 Retrieve floating point double sequence type variable.
subroutine jsondata::get_logical (this, path, value, default)
 Get a logical expression defined inside properties list mapping.
subroutine jsondata::get_string (this, path, value, default)
 Retrieve string character definitions loaded dynamically via parsed map length format.
subroutine jsondata::get_vec_integer (this, path, value, default)
 Parses target dynamically evaluated integer matrix structure hierarchy sequences.
subroutine jsondata::get_vec_real (this, path, value, default)
 Retrives continuous unmapped values sequence containing decimal arrays.
subroutine jsondata::get_vec_logical (this, path, value, default)
 Returns memory structure block sequences representing dynamically stored logic array data.
subroutine jsondata::set_null_value (this, path)
 Modifies payload hierarchy to explicitly associate a JSON null block.
subroutine jsondata::set_vec_null_value (this, path, nvalues)
 Evaluates an explicitly formatted sized array mapped block of JSON null components.
subroutine jsondata::assign_json_type (this, other)
 Prepares native assignments logic deeply copies mapping JSON representation states.