code: def load_from_json(data):
          
          if isinstance(data, str):
              data = json.loads(data)
          return Item(data['title'], data['uri'])
docs: Load a :class:`Item` from a dictionary ot string (that will be parsed
          as json)