Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A ArduinoJson
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Benoît Blanchon
  • ArduinoJson
  • Issues
  • #1578
Closed
Open
Issue created Jun 03, 2021 by Administrator@rootContributor

Add std::string_view support

Created by: paulocsanz

We heavily use non-zero-terminated std::string_view's through our code, but we are not able to serialize them.

Support for std::string_view was mentioned in #704 (closed) as something of interest for this lib, but it seems the discussion ended with the stream solution. It's not clear to me how to use it, I will understand it better, but it seems official support for std::string_view still would be very useful.

Are there plans for direct support?

So I'm opening this issue as a request for std::string_view support in JsonDocument's operator[].

Assignee
Assign to
Time tracking