public void ClearComments()
        {
            string result0 = JsonFormatUtility.ClearComments(m_readable_c1);
            string result1 = JsonFormatUtility.ClearComments(m_readable_c2);
            string result2 = JsonFormatUtility.ClearComments(m_readable_c3);
            string result3 = JsonFormatUtility.ClearComments(m_compact_c1);

            Assert.AreEqual(m_readable, result0);
            Assert.AreEqual(m_readable, result1);
            Assert.AreEqual(m_readable, result2);
            Assert.AreEqual(m_compact, result3);
        }
        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);
        }