from flask import jsonify

from microcosm_flask.formatting.base import BaseFormatter


class JSONFormatter(BaseFormatter):

    CONTENT_TYPE = "application/json"

    @property
    def content_type(self):
        return JSONFormatter.CONTENT_TYPE

    def build_response(self, response_data):
        return jsonify(response_data)

ba75b7db928d71757b89c9390e392b9f81c292d7
<mask token>


class JSONFormatter(BaseFormatter):
    <mask token>

    @property
    def content_type(self):
        return JSONFormatter.CONTENT_TYPE
    <mask token>

<mask token>


class JSONFormatter(BaseFormatter):
    <mask token>

    @property
    def content_type(self):
        return JSONFormatter.CONTENT_TYPE

    def build_response(self, response_data):
        return jsonify(response_data)

<mask token>


class JSONFormatter(BaseFormatter):
    CONTENT_TYPE = 'application/json'

    @property
    def content_type(self):
        return JSONFormatter.CONTENT_TYPE

    def build_response(self, response_data):
        return jsonify(response_data)

from flask import jsonify
from microcosm_flask.formatting.base import BaseFormatter


class JSONFormatter(BaseFormatter):
    CONTENT_TYPE = 'application/json'

    @property
    def content_type(self):
        return JSONFormatter.CONTENT_TYPE

    def build_response(self, response_data):
        return jsonify(response_data)

from flask import jsonify

from microcosm_flask.formatting.base import BaseFormatter


class JSONFormatter(BaseFormatter):

    CONTENT_TYPE = "application/json"

    @property
    def content_type(self):
        return JSONFormatter.CONTENT_TYPE

    def build_response(self, response_data):
        return jsonify(response_data)
