Example #1
0
        public void AddExtraSettings(Action <JsonSerializerSettings> action)
        {
            if (!isCloned)
            {
                serialization = serialization.Clone();
                isCloned      = true;
            }

            serialization.AddExtraSettings(action);
            serialization.RegenSettings();
        }
Example #2
0
        public void ModifySerialization(Action <SerializationSettings> action)
        {
            if (!isCloned)
            {
                serialization = serialization.Clone();
                isCloned      = true;
            }

            action(serialization);
            serialization.RegenSettings();
        }