JSONã®æåã³ã¼ãã¯Unicodeã§åºåããã®ãè¯ãããã - nishin5ã®Webãã¶ã¤ã³&éçºãã°ãã®ç¶ãã§ãã Javaã§æååã\uXXXXã®å½¢å¼ã®unicodeã«ã¨ã¹ã±ã¼ãããã¡ã½ãããæ¸ãã¾ãããããããæã«ä½¿ããã¿ããã§ãâ > æåã¨ã³ã³ã¼ãã£ã³ã°ã«ä¾åããªãå½¢ã«å¤æãããã¨ããJSONå¤æé¢æ°ãæ¸ãã¨ããªããã«ã¯ä¾¿å©ã§ãã [JavaScript]\uXXXXå½¢å¼ã«unicodeã¨ã¹ã±ã¼ãããé¢æ° / LiosK-free Blog ã¡ã½ãã /** * 対象ã®æååãUnicodeã«å¤æãã * _0-9a-zA-Zã¯ãã®ã¾ã¾è¡¨ç¤ºãã * * @param value * @return */ public static String unicodeEscape(String value) { if (value == null) return ""; char[]
{{#tags}}- {{label}}
{{/tags}}