Skip to content

Using QString as string type #274

@mlutken

Description

@mlutken

Hi

It would be very nice if one could do:
using json = nlohmann::basic_json < std::map, std::vector, QString >;

And have everything work.
Right now it seems stringstream are used to stringify etc... So it does not quite compile.

Otherwise I am pretty impressed by the way this library works. Having used hson mostly from PHP, where it's very simple, this is clearly the way to go in C++ :)

-Martin

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions