public void Public_readonly_fields_can_be_deserialized()
		{
			using (JsConfig.BeginScope())
			{
				JsConfig.IncludePublicFields = true;
				var instance = new TypeWithPublicFields("Hello");
				var deserilized = instance.ToJson();

				var copy = deserilized.FromJson<TypeWithPublicFields>();

				Assert.That(copy.Text, Is.EqualTo(instance.Text));
			}
		}
        public void Public_readonly_fields_can_be_deserialized()
        {
            using (JsConfig.BeginScope())
            {
                JsConfig.IncludePublicFields = true;
                var instance    = new TypeWithPublicFields("Hello");
                var deserilized = instance.ToJson();

                var copy = deserilized.FromJson <TypeWithPublicFields>();

                Assert.That(copy.Text, Is.EqualTo(instance.Text));
            }
        }