You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Triage decision: Holoscan strict YAML 1.2 scalars, lexical numeric-kind, reserved envelopes, and DOM node budgets (out of scope) #131
reflect-cpp is a binding layer over yaml-cpp (YAML 1.1); maintainer explicitly accepts yaml-cpp boolean behavior and does not modify third-party libraries. Consumers needing YAML 1.2 should use a YAML 1.2 parser library rather than re-lexing inside rfl::yaml::Reader.
Lexical numeric-kind semantics (1 vs 1.0 vs 1e0, canonical f64to_chars checks, rejecting JSON integers into double, and uint64_t in rfl::Generic):
RFC 8259 JSON makes no int/float type distinction; reflect-cpp intentionally converts integers to double (#549, TOML). Tracking raw source tokens (JsonSourceCursor) is deterministic-hashing policy, not generic struct serialization.
Adding uint64_t to rfl::Generic::ReflectionType would break exhaustive rfl::visit callers on rfl::Generic.
Holoscan's canonical envelope format and holoscan::config::ConfigValue DOM are Holoscan-proprietary; Holoscan already uses yyjson + yaml-cpp directly (no nlohmann or shared third-party DOM adapter needed).
Underlying DOM parsers (yyjson_read_opts, YAML::Load, toml::parse) allocate the full DOM before reflect-cpp's Reader runs; checking node/byte budgets afterward does not prevent OOM DoS (callers should bound input byte size pre-parse, and typed structs already have rfl::Size<rfl::Maximum<N>>).
Activity