diff --git a/IPA.Loader/Config/Data/List.cs b/IPA.Loader/Config/Data/List.cs index 843c9556..cbf3a4fb 100644 --- a/IPA.Loader/Config/Data/List.cs +++ b/IPA.Loader/Config/Data/List.cs @@ -1,4 +1,5 @@ -using System; +using IPA.Utilities; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -112,7 +113,7 @@ namespace IPA.Config.Data /// /// a comma-seperated list of the result of wrapped in square brackets public override string ToString() - => $"[{string.Join(",",this.Select(v => v.ToString()))}]"; + => $"[{string.Join(",",this.Select(v => v.ToString()).StrJP())}]"; IEnumerator IEnumerable.GetEnumerator() => ((IList)values).GetEnumerator(); } diff --git a/IPA.Loader/Config/Data/Map.cs b/IPA.Loader/Config/Data/Map.cs index fec993b4..0f7df8a9 100644 --- a/IPA.Loader/Config/Data/Map.cs +++ b/IPA.Loader/Config/Data/Map.cs @@ -1,4 +1,5 @@ -using System.Collections; +using IPA.Utilities; +using System.Collections; using System.Collections.Generic; using System.Linq; @@ -108,7 +109,7 @@ namespace IPA.Config.Data /// /// a JSON-like set of key-value pairs public override string ToString() - => $"{{{string.Join(",", this.Select(p => $"\"{p.Key}\":{p.Value.ToString()}"))}}}"; + => $"{{{string.Join(",", this.Select(p => $"\"{p.Key}\":{p.Value.ToString()}").StrJP())}}}"; }