Contains subroutines to convert derived types to JSON format.
Generic derived type to JSON converter.
Returns beat in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(beat_type), | intent(inout) | :: | beat |
Beat type. |
Alloctable JSON string.
Returns array of beats in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(beat_type), | intent(inout) | :: | beats(:) |
Array of beat types. |
Allocatable JSON string.
Returns data point in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dp_type), | intent(inout) | :: | data_point |
Data point type. |
Alloctable JSON string.
Returns array of data points in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dp_type), | intent(inout) | :: | data_points(:) |
Data points array. |
Allocatable JSON string.
Returns log in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(log_type), | intent(inout) | :: | log |
Log type. |
Alloctable JSON string.
Returns array of logs in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(log_type), | intent(inout) | :: | logs(:) |
Array of log types. |
Allocatable JSON string.
Returns node in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(node_type), | intent(inout) | :: | node |
Node type. |
Alloctable JSON string.
Returns array of nodes in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(node_type), | intent(inout) | :: | nodes(:) |
Array of node types. |
Allocatable JSON string.
JSON encoding of given observation type (for poor people).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(observ_type), | intent(inout) | :: | observ |
Observation data. |
Alloctable JSON string.
Returns array of observations in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(observ_type), | intent(inout) | :: | observs(:) |
Array of observations. |
Allocatable JSON string.
Returns sensor in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sensor_type), | intent(inout) | :: | sensor |
Sensor type. |
Alloctable JSON string.
Returns array of sensors in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sensor_type), | intent(inout) | :: | sensors(:) |
Array of sensors. |
Allocatable JSON string.
Returns target in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(target_type), | intent(inout) | :: | target |
Sensor type. |
Alloctable JSON string.
Returns array of targets in JSON format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(target_type), | intent(inout) | :: | targets(:) |
Array of targets. |
Allocatable JSON string.
Generic derived type to JSON writer.
Writes beat to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(beat_type), | intent(inout) | :: | beat |
Beat type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes beats to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(beat_type), | intent(inout) | :: | beats(:) |
Beat array. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes data point to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dp_type), | intent(inout) | :: | data_point |
Data point type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes data_points to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dp_type), | intent(inout) | :: | data_points(:) |
Data point array. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes log to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(log_type), | intent(inout) | :: | log |
Log type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes logs to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(log_type), | intent(inout) | :: | logs(:) |
Log array. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes node to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(node_type), | intent(inout) | :: | node |
Node type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes nodes to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(node_type), | intent(inout) | :: | nodes(:) |
Node array. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes observation to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(observ_type), | intent(inout) | :: | observ |
Observation type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes observations to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(observ_type), | intent(inout) | :: | observs(:) |
Observation array. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes sensor to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sensor_type), | intent(inout) | :: | sensor |
Sensor type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes sensors to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sensor_type), | intent(inout) | :: | sensors(:) |
Sensor array. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes target to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(target_type), | intent(inout) | :: | target |
Target type. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Writes targets to file or standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(target_type), | intent(inout) | :: | targets(:) |
Target array. |
||
integer, | intent(in), | optional | :: | unit |
File unit. |
Escapes passed character string by replacing each occurance of \
with \\
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |
String to escape. |
Escaped string.