Goedel.Mesh.SSHProfile.FromTagged C# (CSharp) Method

FromTagged() public static method

Deserialize a tagged stream
public static FromTagged ( JSONReader JSONReader ) : SSHProfile
JSONReader JSONReader The input stream
return SSHProfile
        public static new SSHProfile  FromTagged (JSONReader JSONReader) {
			SSHProfile Out = null;

			JSONReader.StartObject ();
            if (JSONReader.EOR) {
                return null;
                }

			string token = JSONReader.ReadToken ();

			switch (token) {

				case "SSHProfile" : {
					var Result = new SSHProfile ();
					Result.Deserialize (JSONReader);
					Out = Result;
					break;
					}

				default : {
					//Ignore the unknown data
                    //throw new Exception ("Not supported");
                    break;
					}
				}
			JSONReader.EndObject ();

			return Out;
			}

Same methods

SSHProfile::FromTagged ( byte _Data ) : SSHProfile
SSHProfile::FromTagged ( string _Input ) : SSHProfile