additionalPropertiesOf

Converts a variable number of pairs into a map where the values are transformed into JsonElement instances.

Return

A map with the provided keys associated with their corresponding JsonElement representations as values.

Parameters

pairs

A variable number of key-value pairs, where the keys are strings and the values are any type.