Class PyishObjectMapper
java.lang.Object
com.hubspot.jinjava.objects.serialization.PyishObjectMapper
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final com.fasterxml.jackson.databind.ObjectWriterstatic final com.fasterxml.jackson.databind.ObjectWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetAsPyishString(Object val) static Stringstatic StringgetAsPyishStringOrThrow(Object val, boolean forOutput) static Stringstatic void
-
Field Details
-
PYISH_OBJECT_WRITER
public static final com.fasterxml.jackson.databind.ObjectWriter PYISH_OBJECT_WRITER -
SNAKE_CASE_PYISH_OBJECT_WRITER
public static final com.fasterxml.jackson.databind.ObjectWriter SNAKE_CASE_PYISH_OBJECT_WRITER -
ALLOW_SNAKE_CASE_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
PyishObjectMapper
public PyishObjectMapper()
-
-
Method Details
-
getAsUnquotedPyishString
-
getAsPyishString
-
handleLengthLimitingException
-
getAsPyishStringOrThrow
- Throws:
IOException
-
getAsPyishStringOrThrow
- Throws:
IOException
-