public void ModifySerialization(Action <SerializationSettings> action) { if (!isCloned) { serialization = serialization.Clone(); isCloned = true; } action(serialization); serialization.RegenSettings(); }
public static void AddExtraSettings(Action <JsonSerializerSettings> action) { serialization.AddExtraSettings(action); serialization.RegenSettings(); }