def _get_all_field_lines(self):
        """Returns all lines that represent the fields of the layer (both their names and values)."""
        for field in self._get_all_fields_with_alternates():
            yield from self._get_field_or_layer_repr(field)
Returns all lines that represent the fields of the layer (both their names and values).
src/pyshark/packet/layers/json_layer.py