To integrate an inline helper function that return type name as string #1632
Labels
kind: question
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Describe the feature in as much detail as possible.
To integrate an inline helper function that return type name as string.
Include sample usage where appropriate.
It helps for many runtime requirement, not only for debugging type data when logging, but also for transferring type information as message to other program components that is not with nlohmann library integrated. Using
is_number(), is_array() and ..
case by case is a lot more verbose which is unfriendly for those requirement.The solution should be simple, and it is recommended to integrate into the library itself:
The text was updated successfully, but these errors were encountered: