Skip to content

can function dump() return string in the order I push in the json object ? #286

@zyinter2008

Description

@zyinter2008

the program like this:
json obj = { {"result", "OK"}, {"model", "AAA" } };
string str = obj.dump();
which i want get { {"result", "OK"}, {"model", "AAA" } }, but it always return { {"model", "AAA" }, {"result", "OK"} }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions