Class JsonNodeToAttributeValueMapConverter
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.converter.attribute.JsonNodeToAttributeValueMapConverter
-
- All Implemented Interfaces:
JsonNodeVisitor<AttributeValue>
public class JsonNodeToAttributeValueMapConverter extends Object implements JsonNodeVisitor<AttributeValue>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonNodeToAttributeValueMapConverter
instance()
AttributeValue
visitArray(List<JsonNode> array)
AttributeValue
visitBoolean(boolean bool)
AttributeValue
visitEmbeddedObject(Object embeddedObject)
AttributeValue
visitNull()
AttributeValue
visitNumber(String number)
AttributeValue
visitObject(Map<String,JsonNode> object)
AttributeValue
visitString(String string)
-
-
-
Method Detail
-
instance
public static JsonNodeToAttributeValueMapConverter instance()
-
visitNull
public AttributeValue visitNull()
- Specified by:
visitNull
in interfaceJsonNodeVisitor<AttributeValue>
-
visitBoolean
public AttributeValue visitBoolean(boolean bool)
- Specified by:
visitBoolean
in interfaceJsonNodeVisitor<AttributeValue>
-
visitNumber
public AttributeValue visitNumber(String number)
- Specified by:
visitNumber
in interfaceJsonNodeVisitor<AttributeValue>
-
visitString
public AttributeValue visitString(String string)
- Specified by:
visitString
in interfaceJsonNodeVisitor<AttributeValue>
-
visitArray
public AttributeValue visitArray(List<JsonNode> array)
- Specified by:
visitArray
in interfaceJsonNodeVisitor<AttributeValue>
-
visitObject
public AttributeValue visitObject(Map<String,JsonNode> object)
- Specified by:
visitObject
in interfaceJsonNodeVisitor<AttributeValue>
-
visitEmbeddedObject
public AttributeValue visitEmbeddedObject(Object embeddedObject)
- Specified by:
visitEmbeddedObject
in interfaceJsonNodeVisitor<AttributeValue>
-
-