30åã®ããã¤ã¹ã®ã¿ãªãããããã«ã¡ã¯ãã¸ã£ãã§ãã ä½ã®å触ãããªãã2013å¹´ Androidã¢ããªéçºã§ä½¿ãããã©ã¤ãã©ãªãçºè¡¨ãã¾ãã JsonConverter => gson JSONRPCã§ãµã¼ãã¼ãµã¤ãã¨éä¿¡ãè¡ãã¨ãã«ãæ¯åãã¼ãµã¼ãæ¸ãã®ã¯é¢åãªã®ã§ãJsonConverterã使ããããªãã¾ãã ããã§éçºã§ã¯googleãéçºãã¦ããgsonã使ã£ã¦ãã¾ããã NamingPolicyãDeserializerã®ä½¿ãæ¹ãè¦ããã°ãæã§jsonã®ãã¼ãµã¼ãæ¸ãããå§åçã«æ¥½ã§ã Person person = gson.fromJson(json, Person.class); ãã®ããã«ä¸è¡ã§jsonãããªãã¸ã§ã¯ãã«å¤æã§ããããã«ãªãã String json = gson.toJson(person); ä¸è¡ã§ãªãã¸ã§ã¯ãããStringã«å¤æãããã¨ãåºæ¥ã¾
{{#tags}}- {{label}}
{{/tags}}