nested

Add pairs using nested naming (for example as used in ECS).

Return

a BiConsumer for use with the JsonWriter

Parameters

<T>

the item type

pairs

callback to add all the pairs