# Path: transmute_core/compat.py
# def getfullargspec(func):
# 
# Path: transmute_core/exceptions.py
# class SerializationException(APIException):
#     """
#     this exceptions signifies an exception with
#     serializing values.
#     """


from ..compat import all_string_types, string_type
from ..exceptions import SerializationException
from schematics.exceptions import BaseError
from schematics.types import DecimalType, DateTimeType
from decimal import Decimal
from datetime import datetime
        return issubclass(cls, bool)

    @staticmethod
    def to_json_schema(cls):
        return {"type": "boolean"}

    @staticmethod
    def load(cls, obj):
        if isinstance(obj, string_type):
            return obj.lower().startswith("t")
        return bool(obj)

    @staticmethod
    def dump(cls, obj):
        return obj


class NoneSerializer(object):
    def can_handle(self, cls):
        return cls is None

    @staticmethod
    def to_json_schema(cls):
        return {"type": "object"}

    @staticmethod
    def load(cls, obj):
        return obj

    @staticmethod

# Path: transmute_core/compat.py
# def getfullargspec(func):
# 
# Path: transmute_core/exceptions.py
# class SerializationException(APIException):
#     """
#     this exceptions signifies an exception with
#     serializing values.
#     """


# Path: transmute_core/object_serializers/primitive_serializer.py
from ..compat import all_string_types, string_type
from ..exceptions import SerializationException
from schematics.exceptions import BaseError
from schematics.types import DecimalType, DateTimeType
from decimal import Decimal
from datetime import datetime

        return issubclass(cls, bool)

    @staticmethod
    def to_json_schema(cls):
        return {"type": "boolean"}

    @staticmethod
    def load(cls, obj):
        if isinstance(obj, string_type):
            return obj.lower().startswith("t")
        return bool(obj)

    @staticmethod
    def dump(cls, obj):
        return obj


class NoneSerializer(object):
    def can_handle(self, cls):
        return cls is None

    @staticmethod
    def to_json_schema(cls):
        return {"type": "object"}

    @staticmethod
    def load(cls, obj):
        return obj

    @staticmethod

    def dump(cls, obj):