json_to_nlohmann_json

This tool can convert a plain JSON-Object to a nlohmann::json C++ initializer_list.

example values

Input

Output

open source

found a bug or want to add something?

the ART of being lazy*

* and spending a few hours to develop a tool for a simple task, which would take only a few seconds.