import ujson
from encoder_compressor_benchmark.encoders.base import BaseEncoder


class UJSONEncoder(BaseEncoder):
    ext = 'json'
    test_size = 7

    def _encode(self, data):
        return ujson.dumps(data).encode('utf-8')

63a180df382043b9506a0faa7429230decfe1942
<mask token>


class UJSONEncoder(BaseEncoder):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class UJSONEncoder(BaseEncoder):
    <mask token>
    <mask token>

    def _encode(self, data):
        return ujson.dumps(data).encode('utf-8')

<mask token>


class UJSONEncoder(BaseEncoder):
    ext = 'json'
    test_size = 7

    def _encode(self, data):
        return ujson.dumps(data).encode('utf-8')

import ujson
from encoder_compressor_benchmark.encoders.base import BaseEncoder


class UJSONEncoder(BaseEncoder):
    ext = 'json'
    test_size = 7

    def _encode(self, data):
        return ujson.dumps(data).encode('utf-8')
