Search from various English teachers...
China flagCrystal_zhou
gson user guide hello everybody! I'm studing programming language of java recently ,following is what I'm reading now! Hoping someone can help me to correct some mistakes in my translation article,thanks vevry much! (English to chinese) source text: Gson is a Java library that can be used to convert Java Objects into their JSON representation. (my translation : Gson是一门可以用来将Java对象转换为JSON表示法的Java图库) It can also be used to convert open-source project hosted at http://code.google.com/p/google-gson (my translation :它也可以用来在http://code.google.com/p/google-gson 这个网址上 做开源工程) Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. (my translation :Gson可以和任意的Java对象配合使用,包括那些先已经存在的而你又没有源代码的对象) Goals for Gson (Gson目标) *Provide easy to use mechanisms like toString() and constructor (factory method) to convert Java to JSON and vic... (给比如使用toString()和constructor(工厂方法?)这些机制转换为JavaJson提供方便) *Allow pre-existing unmodifiable objects to be converted to and from JSON (允许之前存在的没法改变的对象可以通过JSON被转化) *Allow custom representations for objects (允许为对象做定制表述) *Support arbitrarily complex object (支持任意复合对象) *Generate compact and readability JSON output (使JSON输出简洁和易读)

Corrections · 0

Don’t miss out on the opportunity to learn a language from the comfort of your own home. Browse our selection of experienced language tutors and enroll in your first lesson now!

Start Learning Today