class_docstr: JSON format.
  
  Assumes that JSON is formatted as an array of objects with ``text`` and
  ``label`` properties.
  ::
  
      [
          {"text": "Today is a good day.", "label": "pos"},
          {"text": "I hate this car.", "label": "neg"}
      ]
class_docstr_tok: ["JSON","format",".","Assumes","that","JSON","is","formatted","as","an","array","of","objects","with","``","text","``","and","``","label","``","properties",".",":",":","[","{","``","text","''",":","``","Today","is","a","good","day",".","``",",","``","label","''",":","``","pos","''","}",",","{","``","text","''",":","``","I","hate","this","car",".","``",",","``","label","''",":","``","neg","''","}","]"]
code: def __init__(self, fp, **kwargs):
      BaseFormat.__init__(self, fp, **kwargs)
      self.dict = json.load(fp)
  
imports: from __future__ import absolute_import
  import json
  from collections import OrderedDict
  from textblob.compat import PY2, csv
  from textblob.utils import is_filelike
label_desc: Use image node_id 1 to create a new JSON object from inherited base classes: BaseFormat with example: obj = JSON(fp)