code: function (instance, instanceKey, type, json, jsonKey) {
      try {
          instance[instanceKey] = json[jsonKey];
          return [];
      }
      catch (e) {
          // tslint:disable-next-line:no-string-literal
          throw new JsonConverstionError("Property '" + instanceKey + "' of " + instance.constructor['name'] + " does not match datatype of " + jsonKey, json);
      }
  }
docs: Deserializes a standard js object type(string, number and boolean) from json.