Serializes a flat object's properties into a String separated by a separator character/string. Only top level properties are serialized.
public static string SerializeObject(object objectToSerialize, string separator)
Parameters
objectToSerialize
The object to serialize
separator
Optional separator character or string. Default is |
Remarks
Only serializes top level properties, with no nesting support and only simple properties or those with a type converter are 'serialized'. All other property types use ToString().
See also:
Class StringSerializer© West Wind Technologies, 1996-2020 • Updated: 07/15/20
Comment or report problem with topic