mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-01-06 11:09:57 -08:00
c2d17c285a
* Needed for requests to encode byte-strings to json
10 lines
217 B
Python
10 lines
217 B
Python
"""Implementation of RawJSON
|
|
"""
|
|
|
|
class RawJSON(object):
|
|
"""Wrap an encoded JSON document for direct embedding in the output
|
|
|
|
"""
|
|
def __init__(self, encoded_json):
|
|
self.encoded_json = encoded_json
|