Skip to content

json array: initialize with prescribed size and resize method. #1057

Description

@SylvainCorlay

Feature Request

I would like the ability to initialize a JSON array with a prescribed size.

My use case if that I know that I will be setting all items of a JSON arrays on known length but out of order.

I could do this with an intermediate STL container but I would prefer to avoid the temporary.

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

    solution: proposed fixa fix for the issue has been proposed and waits for confirmation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions