code: public NotificationRegistration readNotificationRegistration(InputStream in) throws ConversionException, IOException, ClassNotFoundException {
          JSONObject json = parseObject(in);
          NotificationRegistration ret = new NotificationRegistration();
          ret.objectName = readObjectName(json.get(N_OBJECTNAME));
          ret.filters = readNotificationFiltersInternal(json.get(N_FILTERS));
          return ret;
      }
docs: Decode a JSON document to retrieve a NotificationRegistration instance.
  
  @param in The stream to read JSON from
  @return The decoded NotificationRegistration instance
  @throws ConversionException If JSON uses unexpected structure/format
  @throws IOException If an I/O error occurs or if JSON is ill-formed.
  @throws ClassNotFoundException If needed class can't be found.
  @see #writeNotificationRegistration(OutputStream, NotificationRegistration)