dm_jsonl_from Interface

public interface dm_jsonl_from

Generic derived type to JSON Lines converter.


Module Procedures

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.