JSON 开发包 PowerJSON
- 授权协议: 未知
- 开发语言: C#
- 操作系统: Windows
- 软件首页: https://github.com/wmjordan/PowerJSON
- 软件文档: http://www.codeproject.com/Articles/888604/PowerJSON-A-More-Powerful-fastJSON
软件介绍
PowerJSON 是 fastJSON 的一个扩展版本,提供一些新方法、类和接口,以及对发现的问题进行修复。详细列表请看这里。
示例代码:
// marks the internal DemoClass class deserializable
[JsonSerializable]
internal class DemoClass
{
// marks MyProperty property to be serialized to a field named "prop"
[JsonField ("prop")]
public string MyProperty { get; set; }
// marks MyEnumProperty property to be serialized to a field named "enum"
[JsonField ("enum")]
public MyEnum MyEnumProperty { get; set; }
// marks not to serialize the Number property, if its value is 0
[System.ComponentModel.DefaultValue (0)]
public int Number { get; set; }
// marks the serialized name of Identifier will be "a", if its type is ClassA,
// and "b" for ClassB, and "variant" for other types
[JsonField ("a", typeof (ClassA))]
[JsonField ("b", typeof (ClassB))]
[JsonField ("variant")]
public object Identifier { get; set; }
// marks the InternalValue property will not be serialized
[JsonInclude (false)]
// marks the InternalValue property will not be deserialized
[System.ComponentModel.ReadOnly (true)]
public int InternalValue { get; set; }
}
public enum MyEnum
{
None,
// marks the serialized name of Vip to "VIP"
[JsonEnumValue ("VIP")]
Vip
}
Python学习手册(第4版)
[美] Mark Lutz / 李军、刘红伟 / 机械工业出版社 / 2011-4 / 119.00元
Google和YouTube由于Python的高可适应性、易于维护以及适合于快速开发而采用它。如果你想要编写高质量、高效的并且易于与其他语言和工具集成的代码,《Python学习手册:第4 版》将帮助你使用Python快速实现这一点,不管你是编程新手还是Python初学者。本书是易于掌握和自学的教程,根据作者Python专家Mark Lutz的著名培训课程编写而成。 《Python学习手册:第......一起来看看 《Python学习手册(第4版)》 这本书的介绍吧!
