Shortcuts

Source code for mmeval.fileio.handlers.json_handler

# Copyright (c) OpenMMLab. All rights reserved.
import json

from .base import BaseFileHandler


[docs]class JsonHandler(BaseFileHandler): """A Json handler that parse json data from file object.""" def load_from_fileobj(self, file): return json.load(file)
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.