docs: def reader(stream):
      """Read Items from a stream containing a JSON array."""
      string = stream.read()
      decoder = json.JSONDecoder().raw_decode
      index = START.match(string, 0).end()
  
      while index < len(string):
          obj, end = decoder(string, index)
          item = Item()
          item.primitive = obj
          yield item
          index = END.match(string, end).end()