Skip to content

Reflection: add support for extracting specific fields #2456

@lemire

Description

@lemire

Suppose that you have a car data structure and you only want to read two of its fields from JSON.

object.extract_into<"make", "model">(car);

is very nice and it should be easy work in simdjson 4.0 with reflection.

It is better than having to annotate the car struct.

Reference: #2274 (comment)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions