# -*- coding: utf-8 -*-

"""
Base model of project.
Contains to basic methods:
    dumps(object_data) - writes object into json.
    loads(json_data) - converts json into model object.

"""

import json


class BaseModel():

    def dumps(object_data):
        return json.dumps(object_data)

    def loads(json_data):
        return json.loads(json_data)

Add base model obect to project.
Add base model obect to project.
