//! Small helpers for cursor-based Kalshi pagination.
use Value;
/// Extracts a non-empty `cursor` field from a response JSON value.
/// Adds or replaces a `cursor` field on a JSON query object.
///
/// This helper is mostly useful for generic pagination code. Typed query params in
/// [`crate::params`] should be preferred when a generated params struct exists.