pyjackson.core module¶
-
class
pyjackson.core.
Position
[source]¶ Bases:
enum.Enum
Enum to change field with type information position
-
INSIDE
= 0¶
-
OUTSIDE
= 1¶
-
-
class
pyjackson.core.
Unserializable
[source]¶ Bases:
object
Mixin type to signal that type is not serializable.
pyjackson.serialize()
will throw explicit error if called with instance of Unserializable (or object with nested Unserializable)
-
class
pyjackson.core.
Field
(name: str, type: type, has_default: bool, default: Any = None)[source]¶ Bases:
pyjackson.core.Comparable