nestedNameStyle

Determines how nested D fields/array entries are mapped to form field * names. Note that this attribute only works if applied to the class.

NestedNameStyleAttribute
nestedNameStyle
(
NestedNameStyle style
)

Examples

struct Items {
	int[] entries;
}

@nestedNameStyle(NestedNameStyle.d)
class MyService {
	// expects fields in D native style:
	// "items.entries[0]", "items.entries[1]", "items.entries[]", ...
	void postItems(Items items)
	{

	}
}

Meta