@@ -0,0 +1,726 @@
+package com.nec.congenio.json;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotNull;%0A%0Aimport javax.json.JsonObject;%0Aimport javax.json.JsonValue;%0Aimport javax.json.JsonValue.ValueType;%0A%0Aimport org.junit.Test;%0A%0Apublic class JsonValueUtilTest %7B%0A%0A%09@Test%0A%09public void parseTest() %7B%0A%09%09String jsonText = new StringBuilder()%0A%09%09.append(%22%7B%22)%0A%09%09.append(%22%5C%22intval%5C%22: 10,%22)%0A%09%09.append(%22%5C%22txtval%5C%22: %5C%2210%5C%22,%22)%0A%09%09.append(%22%5C%22intarry%5C%22: %5B0,1,2%5D%22)%0A%09%09.append(%22%7D   %22)%0A%09%09.toString();%0A%09%09JsonValue v = JsonValueUtil.parse(jsonText);%0A%09%09assertEquals(ValueType.OBJECT, v.getValueType());%0A%09%09JsonObject obj = (JsonObject) v;%0A%09%09assertEquals(10, obj.getInt(%22intval%22));%0A%09%09assertNotNull(obj.getJsonArray(%22intarry%22));%0A%09%7D%0A%7D%0A

add a unit test on Json value