Skip to content

mergeHttpJsonBody()

ts
function mergeHttpJsonBody(...body): HttpJsonBodyOption;

Defined in: common/merge.common.ts:101

Merge HTTP JSON bodies from different sources

Given HTTP JSON bodies will be merged in sequential order. If you provide HTTP JSON bodies A & B, the output would be A' & B.

Parameters

ParameterTypeDescription
...bodyHttpJsonBodyOption[]Different HTTP JSON bodies

Returns

HttpJsonBodyOption

Merged HTTP JSON body

Since

1.0.0

Author

Simon Kovtyk