Skip to content

Add wrapped facade header for nlohmann/json #60

Description

@coderabbitai

Description

Add a wrapped facade header for nlohmann/json.hpp that includes nlohmann/json_fwd.hpp to make it clearer which header to include. This is to resolve clang-tidy warnings and simplify usage across the codebase.

Context

During the migration from submodule-based dependencies to task-based installation in the CLP project, it became unclear whether to include json.hpp or json_fwd.hpp, leading to inconsistent usage.

Links

Acceptance Criteria

  • Create a facade header that provides a clear, single point of entry for nlohmann/json functionality
  • Ensure it includes necessary forward declarations from json_fwd.hpp
  • Document the usage pattern for consistent implementation across projects

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions