()
| 88 | |
| 89 | // parseToObject - Byte && Class |
| 90 | public void parseToObjectByteUTFString() throws Exception { |
| 91 | @SuppressWarnings("unchecked") |
| 92 | HashMap<String, String> map = JSON.parseToObject( |
| 93 | "{\"utf\":\"aériennes\",\"ascii\":\"aariennes\"}".getBytes(), |
| 94 | HashMap.class); |
| 95 | assertEquals("aériennes", map.get("utf")); |
| 96 | assertEquals("aariennes", map.get("ascii")); |
| 97 | } |
| 98 | |
| 99 | @Test |
| 100 | public void parseToObjectByteString() throws Exception { |
nothing calls this directly
no test coverage detected