src/Foundation/Data/Gimela.Data.JsonExtension/DynamicJson.cs
/// <summary>
/// Returns a <see cref="System.String"/> that represents this instance.
/// </summary>
/// <returns>
/// A <see cref="System.String"/> that represents this instance.
/// </returns>
Returns a  that represents this instance.
Returns a that represents this instance .
public override string ToString()
    {
      foreach (var elem in xml.Descendants().Where(x => x.Attribute("type").Value == "null"))
      {
        elem.RemoveNodes();
      }
      return DynamicJsonHelper.CreateJsonString(new XStreamingElement("root", DynamicJsonHelper.CreateTypeAttr(jsonType), xml.Elements()));
    }
public override string ToString ( ) { foreach ( var elem in xml . Descendants ( ) . Where ( x => x . Attribute ( " " ) . Value == " " ) ) { elem . RemoveNodes ( ) ; } return DynamicJsonHelper . CreateJsonString ( new XStreamingElement ( " " , DynamicJsonHelper . CreateTypeAttr ( jsonType ) , xml . Elements ( ) ) ) ; }
Returns a  that represents this instance.
Returns a that represents this instance .
// Serialize to JsonString // <foo type="null"></foo> is can't serialize. replace to <foo type="null" />
A  that represents this instance.
A that represents this instance .