public class GsonJsonObjectConfigurationMerger extends GenericJSONConfigurationMerger<com.google.gson.JsonObject>
ConfigurationMerger that combines two Configuration
objects of type JsonObject (Gson implementation) into a single one.
For additional information, refer to the superclass
GenericJSONConfigurationMerger.
GenericJSONConfigurationMerger| Constructor and Description |
|---|
GsonJsonObjectConfigurationMerger()
Creates a new JSON Configuration Merger for
JsonObject using the Gson
implementation. |
GsonJsonObjectConfigurationMerger(Map<String,String> distinctObjectKeysInsideArrays)
Creates a new JSON Configuration Merger for
JsonObject using the Gson
implementation with a preset map of distinct keys. |
public GsonJsonObjectConfigurationMerger()
JsonObject using the Gson
implementation.public GsonJsonObjectConfigurationMerger(Map<String,String> distinctObjectKeysInsideArrays)
JsonObject using the Gson
implementation with a preset map of distinct keys.
For additional information, refer to
GenericJSONConfigurationMerger.GenericJSONConfigurationMerger(JsonProvider, Map).
distinctObjectKeysInsideArrays - a map that associates JsonPath expressions and
distinct keys during the merge of an array;
null is allowedIllegalArgumentException - if the map contains a null or empty expressioncom.jayway.jsonpath.InvalidPathException - if the specified JsonPath expression is invalidCopyright © 2022. All rights reserved.