Skip to content

Get string field content without return std::string copy  #2091

Description

@zmwangcode

I am dealing with json with a lot of string fields, I checked the souce code , seems there is no way to get the underlying string of string field without a std::string copy?

auto content = j.get<char*>()

Something likes this will be very helpful.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions