public void ToCompact()
        {
            string result0 = JsonFormatUtility.ToCompact(m_readable);
            string result1 = JsonFormatUtility.ToCompact(m_compact);
            string result2 = JsonFormatUtility.ToCompact(m_readable_c1);

            Assert.AreEqual(m_compact, result0);
            Assert.AreEqual(m_compact, result1);
            Assert.AreEqual(m_compact_c1, result2);
        }
        public override void OnImportAsset(AssetImportContext context)
        {
            string text = File.ReadAllText(context.assetPath);

            if (m_compact)
            {
                text = JsonFormatUtility.ToCompact(text);
            }

            if (!m_comments)
            {
                text = JsonFormatUtility.ClearComments(text);
            }

            var textAsset = new TextAsset(text);

            context.AddObjectToAsset("main", textAsset);
            context.SetMainObject(textAsset);
        }