Skip to content

Comments

[JsonGen] Add extract keyword for struct parameters#238

Open
sebaszm wants to merge 1 commit intomasterfrom
development/jsongen-extract-for-pods
Open

[JsonGen] Add extract keyword for struct parameters#238
sebaszm wants to merge 1 commit intomasterfrom
development/jsongen-extract-for-pods

Conversation

@sebaszm
Copy link
Contributor

@sebaszm sebaszm commented Feb 20, 2026

For JSON-RPC only: if a method parameter is a POD struct and tagged as (at)extract, its members will be spilled to method parameters and the object itself will be collapsed. The spilled parameters will merge with other method's parameters successfully as long as a name does not clash (the order will be retained). This tag is invalid for properties.

@github-actions
Copy link

LuaGenerator Results

View Results

Changes detected.

@github-actions
Copy link

ProxyStubGenerator Results

View Results

Changes detected.

@github-actions
Copy link

JsonGenerator Results

View Results

No changes detected.

@sebaszm sebaszm requested a review from MFransen69 February 20, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant