dm_jsonl Module

Contains subroutines to convert derived types to JSON Lines or Newline Delimited JSON format.


Uses

  • module~~dm_jsonl~~UsesGraph module~dm_jsonl dm_jsonl module~dm_ascii dm_ascii module~dm_jsonl->module~dm_ascii module~dm_error dm_error module~dm_jsonl->module~dm_error module~dm_json dm_json module~dm_jsonl->module~dm_json module~dm_kind dm_kind module~dm_jsonl->module~dm_kind module~dm_util dm_util module~dm_jsonl->module~dm_util module~dm_error->module~dm_ascii module~dm_error->module~dm_kind module~dm_json->module~dm_error module~dm_json->module~dm_kind module~dm_json->module~dm_util module~dm_dp dm_dp module~dm_json->module~dm_dp iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env module~dm_util->module~dm_error module~dm_util->module~dm_kind module~dm_dp->module~dm_error module~dm_dp->module~dm_kind module~dm_time dm_time module~dm_dp->module~dm_time module~dm_time->module~dm_error module~dm_time->module~dm_kind module~dm_time->module~dm_util

Used by

  • module~~dm_jsonl~~UsedByGraph module~dm_jsonl dm_jsonl module~dmpack dmpack module~dmpack->module~dm_jsonl

Interfaces

public interface dm_jsonl_from

Generic derived type to JSON Lines converter.

  • private function jsonl_from_beats(beats) result(jsonl)

    Returns array of beats in JSON Lines format.

    Arguments

    Type IntentOptional Attributes Name
    type(beat_type), intent(inout) :: beats(:)

    Array of beat types.

    Return Value character(len=:), allocatable

    Allocatable JSON Lines string.

  • private function jsonl_from_data_points(data_points) result(jsonl)

    Returns array of data points in JSON Lines format.

    Arguments

    Type IntentOptional Attributes Name
    type(dp_type), intent(inout) :: data_points(:)

    Data points array.

    Return Value character(len=:), allocatable

    Allocatable JSON Lines string.

  • private function jsonl_from_logs(logs) result(jsonl)

    Returns array of logs in JSON Lines format.

    Arguments

    Type IntentOptional Attributes Name
    type(log_type), intent(inout) :: logs(:)

    Array of log types.

    Return Value character(len=:), allocatable

    Allocatable JSON Lines string.

  • private function jsonl_from_nodes(nodes) result(jsonl)

    Returns array of nodes in JSON Lines format.

    Arguments

    Type IntentOptional Attributes Name
    type(node_type), intent(inout) :: nodes(:)

    Array of node types.

    Return Value character(len=:), allocatable

    Allocatable JSON Lines string.

  • private function jsonl_from_observs(observs) result(jsonl)

    Returns array of observations in JSON Lines format.

    Arguments

    Type IntentOptional Attributes Name
    type(observ_type), intent(inout) :: observs(:)

    Array of observations.

    Return Value character(len=:), allocatable

    Allocatable JSON Lines string.

  • private function jsonl_from_sensors(sensors) result(jsonl)

    Returns array of sensors in JSON Lines format.

    Arguments

    Type IntentOptional Attributes Name
    type(sensor_type), intent(inout) :: sensors(:)

    Array of sensors.

    Return Value character(len=:), allocatable

    Allocatable JSON Lines string.

  • private function jsonl_from_targets(targets) result(jsonl)

    Returns array of targets in JSON Lines format.

    Arguments

    Type IntentOptional Attributes Name
    type(target_type), intent(inout) :: targets(:)

    Array of targets.

    Return Value character(len=:), allocatable

    Allocatable JSON Lines string.

public interface dm_jsonl_write

Generic derived type to JSON Lines writer.

  • private function jsonl_write_beats(beats, unit) result(rc)

    Writes beats to file or standard output.

    Arguments

    Type IntentOptional Attributes Name
    type(beat_type), intent(inout) :: beats(:)

    Beat array.

    integer, intent(in), optional :: unit

    File unit.

    Return Value integer

  • private function jsonl_write_data_points(data_points, unit) result(rc)

    Writes data_points to file or standard output.

    Arguments

    Type IntentOptional Attributes Name
    type(dp_type), intent(inout) :: data_points(:)

    Data point array.

    integer, intent(in), optional :: unit

    File unit.

    Return Value integer

  • private function jsonl_write_logs(logs, unit) result(rc)

    Writes logs to file or standard output.

    Arguments

    Type IntentOptional Attributes Name
    type(log_type), intent(inout) :: logs(:)

    Log array.

    integer, intent(in), optional :: unit

    File unit.

    Return Value integer

  • private function jsonl_write_nodes(nodes, unit) result(rc)

    Writes nodes to file or standard output.

    Arguments

    Type IntentOptional Attributes Name
    type(node_type), intent(inout) :: nodes(:)

    Node array.

    integer, intent(in), optional :: unit

    File unit.

    Return Value integer

  • private function jsonl_write_observs(observs, unit) result(rc)

    Writes observations to file or standard output.

    Arguments

    Type IntentOptional Attributes Name
    type(observ_type), intent(inout) :: observs(:)

    Observation array.

    integer, intent(in), optional :: unit

    File unit.

    Return Value integer

  • private function jsonl_write_sensors(sensors, unit) result(rc)

    Writes sensors to file or standard output.

    Arguments

    Type IntentOptional Attributes Name
    type(sensor_type), intent(inout) :: sensors(:)

    Sensor array.

    integer, intent(in), optional :: unit

    File unit.

    Return Value integer

  • private function jsonl_write_targets(targets, unit) result(rc)

    Writes targets to file or standard output.

    Arguments

    Type IntentOptional Attributes Name
    type(target_type), intent(inout) :: targets(:)

    Target array.

    integer, intent(in), optional :: unit

    File unit.

    Return Value integer