/// <summary> /// Attempt to serialize any object into a JSON string. /// </summary> /// <param name="input">The object to serialize.</param> /// <returns>A string containing the serialized object.</returns> public static String ToJSON(this Object input, Formatting formatting = Formatting.Indented, TypeNameHandling typeNameHandling = TypeNameHandling.None) { return(DDRIT.ToJSON(input, formatting, typeNameHandling)); }