Table of Contents

Namespace DatabentoDotNet.Historical.Json

Classes

CompressionJsonConverter

Reads and writes Compression as the codec's wire string, reading JSON null as None.

DatasetConditionJsonConverter

Reads and writes DatasetCondition as its wire string.

DateTimeRangeJsonConverter

Reads a DateTimeRange from the {"start":…,"end":…} object the get_dataset_range response nests under each schema.

DeliveryJsonConverter

Reads and writes Delivery as its wire string.

EncodingJsonConverter

Reads and writes Encoding as the codec's wire string.

FeedModeJsonConverter

Reads and writes FeedMode as its wire string.

InstantJsonConverter

Reads an Instant from the six timestamp spellings below — not every spelling the historical API sends. ISO 8601 with a numeric offset (2023-06-14T10:00:00+05:00) throws rather than being accepted; that is a deliberate divergence, not an oversight, because rejecting it is better than upstream's own behaviour of silently discarding the offset it read.

JobStateJsonConverter

Reads and writes JobState as its wire string.

LocalDateJsonConverter

Reads a LocalDate from the yyyy-MM-dd spelling the historical API uses for calendar dates.

MappingIntervalJsonConverter

Reads a MappingInterval from the three-key object the symbology API spells it with: d0, d1 and s.

STypeJsonConverter

Reads and writes SType as the codec's wire string.

SchemaJsonConverter

Reads and writes Schema as the codec's wire string, in both the value and the property-name position.

SplitDurationJsonConverter

Reads and writes SplitDuration as its wire string, reading JSON null as None.

SymbolsJsonConverter

Reads a Symbols from any of the four shapes the API sends one in, and writes it as the comma-joined string the API takes.