# pylint: disable=unused-import

try:
  import json
except ImportError:
  import simplejson as json

# pylint: disable=unused-import

try:
  import json
except ImportError:
  try:
    import simplejson as json
  except ImportError:
    raise ImportError(
      'No json library installed.'
      ' Try running `pip install simplejson` to install a compatible json library.'
    )

Handle missing simplejson