# Path: armet/deserializers/base.py
# class Deserializer(object):
# 
#     #! Applicable media types for this deserializer.
#     media_types = ()
# 
#     def deserialize(self, request=None, text=None):
#         """Parses the request content into a format consumable by python.
# 
#         @throws ValueError
#             To indicate this deserializer cannot deserialize the
#             passed text.
#         """
# 
#         if text is None:
#             # Read in the text from the request.
#             text = request.read()
# 
#         return text
# 
# Path: armet/media_types.py
# FORM_DATA = 'multipart/form-data',
# URL = 'application/x-www-form-urlencoded',
# JSON = (
#     # Offical; as per RFC 4627.
#     'application/json',
# 
#     # Widely used (thanks <http://www.json.org/JSONRequest.html>.)
#     'application/jsonrequest',
# 
#     # Miscellaneous mimetypes that are used frequently (incorrectly).
#     'application/x-json',
#     'text/json; charset=utf-8',
# 
#     # Widely used (incorrectly) thanks to ruby.
#     'text/x-json; charset=utf-8',
# )
# XML = (
#     # To be used when the XML is NOT human-readable as per RFC 3023.
#     # Our XML is not considered human-readable as it is minified before
#     # transfer.
#     'application/xml',
# 
#     # To be used when the XML is human-readable as per RFC 3023.
#     'text/xml; charset=utf-8',
# )
# YAML = (
#     'application/x-yaml',
#     'application/yaml',
#     'text/yaml; charset=utf-8',
#     'text/x-yaml; charset=utf-8',
# )


import six
from .base import Deserializer
from armet import media_types
    from urllib.parse import parse_qsl
    from urlparse import parse_qsl
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals, division


if six.PY3:

else:


class URLDeserializer(Deserializer):


# Path: armet/deserializers/base.py
# class Deserializer(object):
# 
#     #! Applicable media types for this deserializer.
#     media_types = ()
# 
#     def deserialize(self, request=None, text=None):
#         """Parses the request content into a format consumable by python.
# 
#         @throws ValueError
#             To indicate this deserializer cannot deserialize the
#             passed text.
#         """
# 
#         if text is None:
#             # Read in the text from the request.
#             text = request.read()
# 
#         return text
# 
# Path: armet/media_types.py
# FORM_DATA = 'multipart/form-data',
# URL = 'application/x-www-form-urlencoded',
# JSON = (
#     # Offical; as per RFC 4627.
#     'application/json',
# 
#     # Widely used (thanks <http://www.json.org/JSONRequest.html>.)
#     'application/jsonrequest',
# 
#     # Miscellaneous mimetypes that are used frequently (incorrectly).
#     'application/x-json',
#     'text/json; charset=utf-8',
# 
#     # Widely used (incorrectly) thanks to ruby.
#     'text/x-json; charset=utf-8',
# )
# XML = (
#     # To be used when the XML is NOT human-readable as per RFC 3023.
#     # Our XML is not considered human-readable as it is minified before
#     # transfer.
#     'application/xml',
# 
#     # To be used when the XML is human-readable as per RFC 3023.
#     'text/xml; charset=utf-8',
# )
# YAML = (
#     'application/x-yaml',
#     'application/yaml',
#     'text/yaml; charset=utf-8',
#     'text/x-yaml; charset=utf-8',
# )


# Path: armet/deserializers/url.py
import six
from .base import Deserializer
from armet import media_types
    from urllib.parse import parse_qsl
    from urlparse import parse_qsl

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals, division


if six.PY3:

else:


class URLDeserializer(Deserializer):


    media_types = media_types.URL