Back to project page JsonPullParser.
The source code is released under:
Apache License
If you think the Android project JsonPullParser listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.vvakame.sample; // www . jav a2 s. c o m import net.vvakame.util.jsonpullparser.annotation.JsonKey; import net.vvakame.util.jsonpullparser.annotation.JsonModel; /** * Test for {@link JsonKey#sortOrder()}. * @author vvakame */ @JsonModel public class SortOrderData2 { @JsonKey(sortOrder = 2) int a; @JsonKey(sortOrder = 1) int b; /** * @return the a * @category accessor */ public int getA() { return a; } /** * @param a the a to set * @category accessor */ public void setA(int a) { this.a = a; } /** * @return the b * @category accessor */ public int getB() { return b; } /** * @param b the b to set * @category accessor */ public void setB(int b) { this.b = b; } }