public void Visit(NestedElasticPropertyAttribute attribute) { this.VisitBaseAttribute(attribute); if (attribute.IncludeInParent) { this._jsonWriter.WritePropertyName("include_in_parent"); this._jsonWriter.WriteValue("true"); } if (attribute.IncludeInRoot) { this._jsonWriter.WritePropertyName("include_in_root"); this._jsonWriter.WriteValue("true"); } }