阅读优秀的代码真的是种享受,从ProMesh的项目中发现了现在的一段优美的代码,记下来,也让喜欢它的人有机会阅读到.

JSONSerializer把类转换成JSON字符串//=============================================================================
JSONSerializer把类转换成JSON字符串
// ProMesh.NET - .NET Web Application Framework 
JSONSerializer把类转换成JSON字符串
//
JSONSerializer把类转换成JSON字符串
// Copyright (c) 2003-2007 Philippe Leybaert
JSONSerializer把类转换成JSON字符串
//
JSONSerializer把类转换成JSON字符串
// Permission is hereby granted, free of charge, to any person obtaining a copy 
JSONSerializer把类转换成JSON字符串
// of this software and associated documentation files (the "Software"), to deal 
JSONSerializer把类转换成JSON字符串
// in the Software without restriction, including without limitation the rights 
JSONSerializer把类转换成JSON字符串
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
JSONSerializer把类转换成JSON字符串
// copies of the Software, and to permit persons to whom the Software is 
JSONSerializer把类转换成JSON字符串
// furnished to do so, subject to the following conditions:
JSONSerializer把类转换成JSON字符串
//
JSONSerializer把类转换成JSON字符串
// The above copyright notice and this permission notice shall be included in 
JSONSerializer把类转换成JSON字符串
// all copies or substantial portions of the Software.
JSONSerializer把类转换成JSON字符串
// 
JSONSerializer把类转换成JSON字符串
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
JSONSerializer把类转换成JSON字符串
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
JSONSerializer把类转换成JSON字符串
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
JSONSerializer把类转换成JSON字符串
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
JSONSerializer把类转换成JSON字符串
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
JSONSerializer把类转换成JSON字符串
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
JSONSerializer把类转换成JSON字符串
// IN THE SOFTWARE.
JSONSerializer把类转换成JSON字符串
//=============================================================================
JSONSerializer把类转换成JSON字符串

JSONSerializer把类转换成JSON字符串
using System;
JSONSerializer把类转换成JSON字符串
using System.Collections;
JSONSerializer把类转换成JSON字符串
using System.Collections.Generic;
JSONSerializer把类转换成JSON字符串
using System.Globalization;
JSONSerializer把类转换成JSON字符串
using System.Reflection;
JSONSerializer把类转换成JSON字符串
using System.Text;
JSONSerializer把类转换成JSON字符串
JSONSerializer把类转换成JSON字符串
namespace Activa.ProMesh

相关文章: