Expand description
Common parser utilities for exchange data parsing.
This module provides shared utility functions for parsing JSON data from exchange API responses into Rust types.
Functionsยง
- datetime_
to_ timestamp - Convert ISO8601 datetime string to millisecond timestamp.
- parse_
decimal - Parse a
Decimalvalue from JSON (supports both string and number formats). - parse_
timestamp - Parse a timestamp from JSON (supports both string and number formats).
- timestamp_
to_ datetime - Convert millisecond timestamp to ISO8601 datetime string.
- value_
to_ hashmap - Convert a JSON
Valueinto aHashMap<String, Value>.