Skip to content

Type checking during compile #1103

Description

@trivigy

Sorry for the naive question in case this is really rudimentary but is there a way to type check the json instance during compile time? The basic use case in my situation is that I am passing a json object as a function argument and I want to ensure that only json::object is passed. Was hoping it could be check done during compile time.

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

    kind: questionsolution: wontfixthe issue will not be fixed (either it is impossible or deemed out of scope)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions