# -*- coding: utf-8 -*-
#
+
class LinkObject(object):
DEFAULT_TYPE = 1
def _dict_to_json(self, dict_object):
json_strings = "{"
for dict_key in dict_object.keys():
- json_strings += "\"" + dict_key + "\":\"" + dict_object[dict_key] + "\","
+ json_strings += "\"" + dict_key + \
+ "\":\"" + dict_object[dict_key] + "\","
json_strings = json_strings.rstrip(",") + "}"
return json_strings
-
+
def __add__(self, label):
return self.label + label