It would be nice if tomlet supported something like this:
namespace GoodGirl
{
public class DoggyPatch
{
public string Name { get; set; }
public string Tags { get; set; }
[TomlMultilineLiteralString]
public string Search { get; set; }
[TomlMultilineLiteralString]
public string Replace { get; set; }
}
}
So basically an attribute [TomlMultilineLiteralString] (or [TomlMultiLineLiteralString]) which would force said string properties to be serialized as:
Search = '''
if (!V.streaming.xvideos) V.streaming.xvideos = [];
'''
Replace = '''
if (!V.streaming.xvideos) V.streaming.xvideos = [];
if (!V.streaming.old_xvideos) V.streaming.old_xvideos = [];
'''
Thanks in advance!
It would be nice if tomlet supported something like this:
So basically an attribute
[TomlMultilineLiteralString](or[TomlMultiLineLiteralString]) which would force said string properties to be serialized as:Thanks in advance!