code: def append_json(
              self,
              obj: Any,
              headers: Optional['MultiMapping[str]']=None
      ) -> Payload:
          
          if headers is None:
              headers = CIMultiDict()
  
          return self.append_payload(JsonPayload(obj, headers=headers))
docs: Helper to append JSON part.