Skip to content

Partially reading in array of arrays where different arrays can be of different types. #1463

Discussion options

You must be logged in to vote

It would be good to be able to target a specific range of values. This really demands another query syntax. I want to add support for JMESPATH, but that is a long term goal.

I wouldn't be afraid of glz::json_t (which uses a variant underneath) for handling generic inputs. Also, if you're afraid of copying your vectors then simply call std::move after the generic parse, this will avoid the copy and give you generic behavior.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sohaibiftikhar
Comment options

@stephenberry
Comment options

Answer selected by sohaibiftikhar
@sohaibiftikhar
Comment options

@stephenberry
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants