@property<EOL><INDENT>def __json_data__(self):<DEDENT>
if schema.is_dense(self.namespace):<EOL><INDENT>dense_records = dict()<EOL>for field in Observation._fields:<EOL><INDENT>dense_records[field] = []<EOL><DEDENT>for obs in self.data:<EOL><INDENT>for key, val in six.iteritems(obs._asdict()):<EOL><INDENT>dense_records[key].append(serialize_obj(val))<EOL><DEDENT><DEDENT>return dense_records<EOL><DEDENT>else:<EOL><INDENT>return [serialize_obj(_) for _ in self.data]<EOL><DEDENT>
r"""JSON-serialize the observation sequence.