Class SerializationHelper
- java.lang.Object
-
- com.exasol.adapter.document.edml.serializer.SerializationHelper
-
public class SerializationHelper extends Object
Helper class for EDML Serialization
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddAsJsonObjectIfNotNullOrEmpty(jakarta.json.JsonObjectBuilder jsonObjectBuilder, String key, String value)Add a key and json object (converted from string value) to a json object builder if not null or emptystatic voidaddIfNotNullOrEmpty(jakarta.json.JsonObjectBuilder jsonObjectBuilder, String key, String value)Add a key and string value to a json object builder if not null or empty
-
-
-
Method Detail
-
addIfNotNullOrEmpty
public static void addIfNotNullOrEmpty(jakarta.json.JsonObjectBuilder jsonObjectBuilder, String key, String value)Add a key and string value to a json object builder if not null or empty- Parameters:
jsonObjectBuilder- the builderkey- the keyvalue- the value
-
addAsJsonObjectIfNotNullOrEmpty
public static void addAsJsonObjectIfNotNullOrEmpty(jakarta.json.JsonObjectBuilder jsonObjectBuilder, String key, String value)Add a key and json object (converted from string value) to a json object builder if not null or empty- Parameters:
jsonObjectBuilder- the builderkey- the keyvalue- the value
-
-